1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 21:44:04 +02:00

Add a patch for libpng's pkgconfig install

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@962 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-05-19 20:41:53 +00:00
parent 7b7fb21daa
commit d798bfa4f8

View File

@ -0,0 +1,21 @@
--- libpng-1.2.8-config/Makefile.in.orig 2004-12-03 01:14:51.000000000 +0100
+++ libpng-1.2.8-config/Makefile.in 2005-05-18 14:17:31.000000000 +0200
@@ -874,13 +874,13 @@
cp libpng.pc libpng12.pc
install-data-local: libpng.pc libpng12.pc
- @INSTALL@ -d @PKGCONFIGDIR@
- @INSTALL_DATA@ libpng.pc @PKGCONFIGDIR@
- @INSTALL_DATA@ libpng12.pc @PKGCONFIGDIR@
+ @INSTALL@ -d $(DESTDIR)@PKGCONFIGDIR@
+ @INSTALL_DATA@ libpng.pc $(DESTDIR)@PKGCONFIGDIR@
+ @INSTALL_DATA@ libpng12.pc $(DESTDIR)@PKGCONFIGDIR@
uninstall-local:
- rm -f @PKGCONFIGDIR@/libpng.pc
- rm -f @PKGCONFIGDIR@/libpng12.pc
+ rm -f $(DESTDIR)@PKGCONFIGDIR@/libpng.pc
+ rm -f $(DESTDIR)@PKGCONFIGDIR@/libpng12.pc
libpng-config:
( cat ${srcdir}/scripts/libpng-config-head.in; \