]> git.pld-linux.org Git - packages/crossmingw32-libpng.git/blob - libpng-libdirfix.patch
- remaining part is back (lib linking, compat symlink instead of duplicate lib)
[packages/crossmingw32-libpng.git] / libpng-libdirfix.patch
1 --- libpng-1.2.9/scripts/makefile.linux.libdirfix       2003-02-24 19:32:51.000000000 -0500
2 +++ libpng-1.2.9/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),;s,@exec_prefix@,$(exec_prefix),;s,@libdir@,$(LIBPATH),;s,@includedir@,$(INCPATH),;s,@PNGLIB_VERSION@,$(PNGMIN),;s,@PNGLIB_MAJOR@,12," > libpng.pc
9  
10  $(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
11         ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
12 --- libpng-1.2.9/scripts/makefile.gcmmx.libdirfix       2003-02-24 19:32:51.000000000 -0500
13 +++ libpng-1.2.9/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),;s,@exec_prefix@,$(exec_prefix),;s,@libdir@,$(LIBPATH),;s,@includedir@,$(INCPATH),;s,@PNGLIB_VERSION@,$(PNGMIN),;s,@PNGLIB_MAJOR@,12," > libpng.pc
20  
21  $(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
22         ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
This page took 0.208475 seconds and 3 git commands to generate.