summaryrefslogtreecommitdiff
path: root/graphics/tuxpaint/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tuxpaint/patches/patch-Makefile')
-rw-r--r--graphics/tuxpaint/patches/patch-Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/tuxpaint/patches/patch-Makefile b/graphics/tuxpaint/patches/patch-Makefile
new file mode 100644
index 00000000000..2a17aeba855
--- /dev/null
+++ b/graphics/tuxpaint/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2014/09/24 11:27:51 jperkin Exp $
+
+Use PKGLOCALEDIR.
+
+--- Makefile.orig 2014-08-19 07:28:33.000000000 +0000
++++ Makefile
+@@ -128,7 +128,7 @@ BIN_PREFIX:=$(DESTDIR)$(PREFIX)/bin
+ DATA_PREFIX:=$(DESTDIR)$(PREFIX)/share/tuxpaint
+
+ # Locale files
+-LOCALE_PREFIX=$(DESTDIR)$(PREFIX)/share/locale
++LOCALE_PREFIX=$(DESTDIR)$(PREFIX)/$(PKGLOCALEDIR)/locale
+
+ # IM files
+ IM_PREFIX=$(DESTDIR)$(PREFIX)/share/tuxpaint/im