]> git.pld-linux.org Git - packages/libpng.git/blob - libpng-libdirfix.patch
b71ed8bba8d06c94d166bd3ce34a96cca0cf6774
[packages/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 @@ -29,7 +29,7 @@
4  # libpng12/png.h and libpng12/pngconf.h
5  # Prefix must be a full pathname.
6  prefix=/usr/local
7 -exec_prefix=$prefix
8 +exec_prefix=$(prefix)
9  
10  # Where the zlib library and include files are located.
11  #ZLIBLIB=/usr/local/lib
12 @@ -60,7 +60,7 @@
13         $(RANLIB) $@
14  
15  libpng.pc:
16 -       cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
17 +       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
18  
19  $(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
20         ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
21 --- libpng-1.2.9/scripts/makefile.gcmmx.libdirfix       2003-02-24 19:32:51.000000000 -0500
22 +++ libpng-1.2.9/scripts/makefile.gcmmx 2003-02-24 19:33:26.000000000 -0500
23 @@ -40,7 +40,7 @@
24  # libpng12/png.h and libpng12/pngconf.h
25  # Prefix must be a full pathname.
26  prefix=/usr/local
27 -exec_prefix=$prefix
28 +exec_prefix=$(prefix)
29  
30  # Where the zlib library and include files are located.
31  #ZLIBLIB=/usr/local/lib
32 @@ -60,7 +60,7 @@
33         $(RANLIB) $@
34  
35  libpng.pc:
36 -       cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
37 +       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
38  
39  $(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
40         ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
This page took 0.023453 seconds and 2 git commands to generate.