]> git.pld-linux.org Git - packages/crossmingw32-libpng.git/blob - libpng-libdirfix.patch
- fix alpha, sparc
[packages/crossmingw32-libpng.git] / libpng-libdirfix.patch
1 --- libpng-1.2.2/scripts/makefile.linux.libdirfix       2003-02-24 19:32:51.000000000 -0500
2 +++ libpng-1.2.2/scripts/makefile.linux 2003-02-24 19:33:26.000000000 -0500
3 @@ -60,7 +60,7 @@
4         $(RANLIB) $@
5  
6  libpng.pc:
7 -       cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
8 +       cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! -e s\!@LIBPATH@!$(LIBPATH)! > libpng.pc
9  
10  $(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
11         ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
12 --- libpng-1.2.2/scripts/makefile.gcmmx.libdirfix       2003-02-24 19:32:51.000000000 -0500
13 +++ libpng-1.2.2/scripts/makefile.gcmmx 2003-02-24 19:33:26.000000000 -0500
14 @@ -60,7 +60,7 @@
15         $(RANLIB) $@
16  
17  libpng.pc:
18 -       cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
19 +       cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! -e s\!@LIBPATH@!$(LIBPATH)! > libpng.pc
20  
21  $(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
22         ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
23 --- libpng-1.2.2/scripts/libpng.pc.in.libdirfix 2003-02-24 19:31:45.000000000 -0500
24 +++ libpng-1.2.2/scripts/libpng.pc.in   2003-02-24 19:31:53.000000000 -0500
25 @@ -1,7 +1,7 @@
26  
27  prefix=@PREFIX@
28  exec_prefix=${prefix}
29 -libdir=${exec_prefix}/lib
30 +libdir=@LIBPATH@
31  includedir=${exec_prefix}/include
32  
33  Name: libpng12
This page took 0.062261 seconds and 3 git commands to generate.