From 0198017fbc790b83e3c9d98cc37d44043395d301 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Thu, 19 May 2005 20:41:53 +0000 Subject: [PATCH] Add a patch for libpng's pkgconfig install SVN-Revision: 962 --- .../patches/101-pkgconfig-install.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 openwrt/package/libpng/patches/101-pkgconfig-install.patch diff --git a/openwrt/package/libpng/patches/101-pkgconfig-install.patch b/openwrt/package/libpng/patches/101-pkgconfig-install.patch new file mode 100644 index 00000000000..7f362fbc3b9 --- /dev/null +++ b/openwrt/package/libpng/patches/101-pkgconfig-install.patch @@ -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; \ -- 2.30.2