Skip to content

Commit

Permalink
app-i18n/canna: add ipv6 USE flag
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
hattya committed Jul 8, 2017
1 parent 09e2804 commit 5a0b53c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app-i18n/canna/canna-3.7_p3-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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() {
Expand Down

0 comments on commit 5a0b53c

Please sign in to comment.