summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-tegaki/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-08-08 00:42:23 +0000
committerobache <obache@pkgsrc.org>2010-08-08 00:42:23 +0000
commit848af295ab1f047d1116004f19587542a9e510cc (patch)
tree730d4c8c700fa85e6c8374999fb69836c560155c /inputmethod/ibus-tegaki/patches
parente1abde625c1af1c475c63ad574acd90c9da8be4d (diff)
downloadpkgsrc-848af295ab1f047d1116004f19587542a9e510cc.tar.gz
Import ibus-tegaki-0.3.1 as inputmethod/ibus-tegaki.
Tegaki project integration in IBus.
Diffstat (limited to 'inputmethod/ibus-tegaki/patches')
-rw-r--r--inputmethod/ibus-tegaki/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/inputmethod/ibus-tegaki/patches/patch-aa b/inputmethod/ibus-tegaki/patches/patch-aa
new file mode 100644
index 00000000000..c280ddaa566
--- /dev/null
+++ b/inputmethod/ibus-tegaki/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/08/08 00:42:23 obache Exp $
+
+destdir support.
+
+--- setup.py.orig 2010-03-23 07:07:56.000000000 +0000
++++ setup.py
+@@ -40,6 +40,8 @@ class install(installbase):
+ txt = load_file(filename)
+ txt = replace_constants(self._replace_prefix(txt))
+ outdir = os.path.join(self._getprefix(), folder)
++ if self.root is not None:
++ outdir = self.root + outdir
+ out = os.path.join(outdir, filename.replace(".in", ""))
+ if not os.path.exists(outdir):
+ os.makedirs(outdir)
+@@ -76,4 +78,4 @@ setup(
+ data_files=[('share/ibus-tegaki/engine', glob("engine/*.py")),
+ ('share/ibus-tegaki/icons', glob("*.svg"))],
+ cmdclass={'install':install}
+-)
+\ No newline at end of file
++)