summaryrefslogtreecommitdiff
path: root/graphics/paper-icon-theme/patches/patch-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/paper-icon-theme/patches/patch-Makefile.am')
-rw-r--r--graphics/paper-icon-theme/patches/patch-Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/paper-icon-theme/patches/patch-Makefile.am b/graphics/paper-icon-theme/patches/patch-Makefile.am
new file mode 100644
index 00000000000..a1b97eea11d
--- /dev/null
+++ b/graphics/paper-icon-theme/patches/patch-Makefile.am
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile.am,v 1.1 2016/06/13 00:26:04 youri Exp $
+
+Install to pkgsrc prefix.
+
+--- Makefile.am.orig 2016-05-23 02:15:15.000000000 +0000
++++ Makefile.am
+@@ -7,8 +7,8 @@ EXTRA_DIST = \
+ themedir = $(datadir)/icons
+
+ install-data-hook:
+- $(MKDIR_P) $(DESTDIR)/usr/share/icons
+- cp -Rv Paper $(DESTDIR)/usr/share/icons/.
++ $(MKDIR_P) $(DESTDIR)$(PREFIX)/share/icons
++ cp -Rv Paper $(DESTDIR)$(PREFIX)/share/icons/.
+
+ uninstall-hook:
+ test -e $(DESTDIR)/usr/share/icons/Paper && rm -rfv $(DESTDIR)/usr/share/icons/Paper