source: scripts/patches/libpng-1.2.7-fix_pc_for_biarch.patch@ 0547e59

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0547e59 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver AT pha.com.au>
2Date: 2004-10-28
3Initial Package Version: 1.2.7
4Origin: Ryan Oliver
5Description: Patch ensures generated pkgconfig file points to the correct
6 location for the installed libraries
7diff -uNr libpng-1.2.7-orig/scripts/libpng.pc.in libpng-1.2.7/scripts/libpng.pc.in
8--- libpng-1.2.7-orig/scripts/libpng.pc.in 2004-09-12 12:19:36.000000000 +1000
9+++ libpng-1.2.7/scripts/libpng.pc.in 2004-10-28 00:10:52.124127368 +1000
10@@ -1,7 +1,7 @@
11
12 prefix=@PREFIX@
13 exec_prefix=${prefix}
14-libdir=${exec_prefix}/lib
15+libdir=@LIBPATH@
16 includedir=${exec_prefix}/include
17
18 Name: libpng12
19diff -uNr libpng-1.2.7-orig/scripts/makefile.linux libpng-1.2.7/scripts/makefile.linux
20--- libpng-1.2.7-orig/scripts/makefile.linux 2004-09-12 12:19:36.000000000 +1000
21+++ libpng-1.2.7/scripts/makefile.linux 2004-10-28 00:10:24.220369384 +1000
22@@ -78,7 +78,9 @@
23 $(RANLIB) $@
24
25 libpng.pc:
26- cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
27+ cat scripts/libpng.pc.in | \
28+ sed -e s\!@PREFIX@!$(prefix)! \
29+ -e s\!@LIBPATH@!$(LIBPATH)! > libpng.pc
30
31 libpng-config:
32 ( cat scripts/libpng-config-head.in; \
Note: See TracBrowser for help on using the repository browser.