summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-08 17:10:39 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-08 17:10:39 +0900
commit5a0b53c2c241ad013c1ffb1f3f6456f0debb4845 (patch)
tree24af8ba78ed754f0b7cbc748efec495c65f36d7d /app-i18n/canna
parentapp-i18n/canna: fix DEPEND (diff)
downloadgentoo-5a0b53c2c241ad013c1ffb1f3f6456f0debb4845.tar.gz
gentoo-5a0b53c2c241ad013c1ffb1f3f6456f0debb4845.tar.bz2
gentoo-5a0b53c2c241ad013c1ffb1f3f6456f0debb4845.zip
app-i18n/canna: add ipv6 USE flag
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/canna')
-rw-r--r--app-i18n/canna/canna-3.7_p3-r2.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-i18n/canna/canna-3.7_p3-r2.ebuild b/app-i18n/canna/canna-3.7_p3-r2.ebuild
index 9045702ca033..4bc24066bb83 100644
--- a/app-i18n/canna/canna-3.7_p3-r2.ebuild
+++ b/app-i18n/canna/canna-3.7_p3-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge.jp/canna/9565/${MY_P}.tar.bz2"
LICENSE="MIT GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc"
+IUSE="doc ipv6"
DEPEND="x11-misc/gccmakedep
x11-misc/imake
@@ -38,8 +38,10 @@ src_prepare() {
find . -name '*.man' -o -name '*.jmn' | xargs sed -i.bak -e 's/1M/8/g' || die
- # Multilib-strict fix for amd64
- sed -i "/DefLibCannaDir/s:/lib$:/$(get_libdir):" Canna.conf
+ sed -i \
+ -e "/DefLibCannaDir/s:/lib$:/$(get_libdir):" \
+ -e "/UseInet6/s:0:$(usex ipv6 1 0):" \
+ Canna.conf
}
src_configure() {