summaryrefslogtreecommitdiff
path: root/inputmethod/ami/patches
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/ami/patches')
-rw-r--r--inputmethod/ami/patches/patch-ab15
-rw-r--r--inputmethod/ami/patches/patch-ac16
2 files changed, 31 insertions, 0 deletions
diff --git a/inputmethod/ami/patches/patch-ab b/inputmethod/ami/patches/patch-ab
new file mode 100644
index 00000000000..04e93f845b9
--- /dev/null
+++ b/inputmethod/ami/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2008/06/12 02:14:33 joerg Exp $
+
+--- Makefile.in.orig 2008-06-10 14:40:28.000000000 +0000
++++ Makefile.in
+@@ -454,8 +454,8 @@ distclean-generic clean-generic maintain
+ mostlyclean distclean maintainer-clean
+
+ install-data-local:
+- -mkdir -p $(datadir)/ami/pix
+- cp -r $(top_srcdir)/pix/* $(datadir)/ami/pix
++ -mkdir -p ${DESTDIR}$(datadir)/ami/pix
++ cp -r $(top_srcdir)/pix/* ${DESTDIR}$(datadir)/ami/pix
+ uninstall-local:
+ chmod -R a+w $(datadir)/ami
+ rm -rf $(datadir)/ami/pix
diff --git a/inputmethod/ami/patches/patch-ac b/inputmethod/ami/patches/patch-ac
new file mode 100644
index 00000000000..9e6d9154095
--- /dev/null
+++ b/inputmethod/ami/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2008/06/12 02:14:33 joerg Exp $
+
+--- src/Makefile.in.orig 2008-06-10 14:50:28.000000000 +0000
++++ src/Makefile.in
+@@ -350,9 +350,9 @@ mostlyclean distclean maintainer-clean
+
+
+ @GNOMEAPPLET_TRUE@install-exec-hook:
+-@GNOMEAPPLET_TRUE@ (cd $(bindir); ln -sf ami ami_applet; ln -sf ami wmami)
++@GNOMEAPPLET_TRUE@ (cd ${DESTDIR}$(bindir); ln -sf ami ami_applet; ln -sf ami wmami)
+ @GNOMEAPPLET_FALSE@install-exec-hook:
+-@GNOMEAPPLET_FALSE@ (cd $(bindir); ln -sf ami wmami)
++@GNOMEAPPLET_FALSE@ (cd ${DESTDIR}$(bindir); ln -sf ami wmami)
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.