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
4 # libpng12/png.h and libpng12/pngconf.h
5 # Prefix must be a full pathname.
10 # Where the zlib library and include files are located.
11 #ZLIBLIB=/usr/local/lib
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
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
24 # libpng12/png.h and libpng12/pngconf.h
25 # Prefix must be a full pathname.
28 +exec_prefix=$(prefix)
30 # Where the zlib library and include files are located.
31 #ZLIBLIB=/usr/local/lib
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
39 $(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
40 ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so