From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch (limited to 'dev-cpp/pngpp/files') diff --git a/dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch b/dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch new file mode 100644 index 000000000000..ee9b29ef7558 --- /dev/null +++ b/dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch @@ -0,0 +1,15 @@ +Build system does not honour $(DESTDIR) + +--- a/Makefile ++++ b/Makefile +@@ -54,8 +54,8 @@ + uninstall: uninstall-headers uninstall-docs + + install-headers: +- mkdir -p $(PREFIX)/include/png++ +- cp $(headers) $(PREFIX)/include/png++ ++ mkdir -p $(DESTDIR)$(PREFIX)/include/png++ ++ cp $(headers) $(DESTDIR)$(PREFIX)/include/png++ + + uninstall-headers: + rm -rf $(PREFIX)/include/png++ -- cgit v1.2.3