summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-05-10 14:45:25 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-05-10 14:45:55 +0900
commit2b81985e046cea8f059daa25c3ab886cdc37519b (patch)
tree6189787759369eaca25e81bf9cea91d333b8562a /app-i18n/sunpinyin
parentnet-misc/suite3270: version bump to 3.5_p8 (diff)
downloadgentoo-2b81985e046cea8f059daa25c3ab886cdc37519b.tar.gz
gentoo-2b81985e046cea8f059daa25c3ab886cdc37519b.tar.bz2
gentoo-2b81985e046cea8f059daa25c3ab886cdc37519b.zip
app-i18n/sunpinyin: fix pod2man and install directory.
Bug: 581914 553796 Package-Manager: portage-2.2.28
Diffstat (limited to 'app-i18n/sunpinyin')
-rw-r--r--app-i18n/sunpinyin/files/sunpinyin-2.0.4-pod2man.patch17
-rw-r--r--app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild5
2 files changed, 20 insertions, 2 deletions
diff --git a/app-i18n/sunpinyin/files/sunpinyin-2.0.4-pod2man.patch b/app-i18n/sunpinyin/files/sunpinyin-2.0.4-pod2man.patch
new file mode 100644
index 000000000000..54831df21220
--- /dev/null
+++ b/app-i18n/sunpinyin/files/sunpinyin-2.0.4-pod2man.patch
@@ -0,0 +1,17 @@
+From: Guo Yixuan <culu.gyx@gmail.com>
+Bug: https://code.google.com/archive/p/sunpinyin/issues/327
+Gentoo-Bug: 553796
+
+diff --git a/man/SConscript b/man/SConscript
+index f3ebd03..e1551eb 100644
+--- a/man/SConscript
++++ b/man/SConscript
+@@ -1,7 +1,7 @@
+ import os
+ Import('env')
+
+-pod2man = Builder(action = 'pod2man < $SOURCE > $TARGET')
++pod2man = Builder(action = 'pod2man $SOURCE $TARGET')
+ env.Append(BUILDERS = {'Man': pod2man})
+
+ env.Man('mmseg.1', 'mmseg.pod')
diff --git a/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild b/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild
index ac30d8816254..87e36a1e3ec3 100644
--- a/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild
+++ b/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}
PDEPEND="app-i18n/sunpinyin-data"
src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.4-pod2man.patch
epatch_user
}
@@ -40,7 +41,7 @@ src_compile() {
}
src_install() {
- escons --install-sandbox="${ED}" install
+ escons --install-sandbox="${D}" install
rm -rf "${D}"/usr/share/doc/${PN} || die
dodoc doc/{README,SLM-inst.mk,SLM-train.mk}
}