1 |
commit: 5a0b53c2c241ad013c1ffb1f3f6456f0debb4845 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 8 08:10:39 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 8 08:10:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a0b53c2 |
7 |
|
8 |
app-i18n/canna: add ipv6 USE flag |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-i18n/canna/canna-3.7_p3-r2.ebuild | 8 +++++--- |
13 |
1 file changed, 5 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/app-i18n/canna/canna-3.7_p3-r2.ebuild b/app-i18n/canna/canna-3.7_p3-r2.ebuild |
16 |
index 9045702ca03..4bc24066bb8 100644 |
17 |
--- a/app-i18n/canna/canna-3.7_p3-r2.ebuild |
18 |
+++ b/app-i18n/canna/canna-3.7_p3-r2.ebuild |
19 |
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge.jp/canna/9565/${MY_P}.tar.bz2" |
20 |
LICENSE="MIT GPL-2" |
21 |
SLOT="0" |
22 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
23 |
-IUSE="doc" |
24 |
+IUSE="doc ipv6" |
25 |
|
26 |
DEPEND="x11-misc/gccmakedep |
27 |
x11-misc/imake |
28 |
@@ -38,8 +38,10 @@ src_prepare() { |
29 |
|
30 |
find . -name '*.man' -o -name '*.jmn' | xargs sed -i.bak -e 's/1M/8/g' || die |
31 |
|
32 |
- # Multilib-strict fix for amd64 |
33 |
- sed -i "/DefLibCannaDir/s:/lib$:/$(get_libdir):" Canna.conf |
34 |
+ sed -i \ |
35 |
+ -e "/DefLibCannaDir/s:/lib$:/$(get_libdir):" \ |
36 |
+ -e "/UseInet6/s:0:$(usex ipv6 1 0):" \ |
37 |
+ Canna.conf |
38 |
} |
39 |
|
40 |
src_configure() { |