dev-libs/eb: Use the nls flag rather than linguas_ja to enable NLS.
authorUlrich Müller <ulm@gentoo.org>
Mon, 27 Jun 2016 08:37:42 +0000 (10:37 +0200)
committerUlrich Müller <ulm@gentoo.org>
Mon, 27 Jun 2016 12:43:49 +0000 (14:43 +0200)
Also use nls for conditional dependencies on gettext and libintl.

Package-Manager: portage-2.3.0

dev-libs/eb/eb-4.4.1-r1.ebuild

index 0c407507767c261b3849bdd25f857491308dcaab..660930335d3312ff25483842f389f2854fca1e03 100644 (file)
@@ -7,19 +7,19 @@ EAPI=5
 DESCRIPTION="EB is a C library and utilities for accessing CD-ROM books"
 HOMEPAGE="http://www.sra.co.jp/people/m-kasahr/eb/"
 SRC_URI="ftp://ftp.sra.co.jp/pub/misc/eb/${P}.tar.lzma"
-LICENSE="BSD"
 
+LICENSE="BSD"
 SLOT="0"
 KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
-IUSE="ipv6 linguas_ja threads"
+IUSE="ipv6 nls threads"
 
 RDEPEND="
        sys-libs/zlib
-       linguas_ja? ( virtual/libintl )
+       nls? ( virtual/libintl )
 "
 DEPEND="
        ${RDEPEND}
-       linguas_ja? ( sys-devel/gettext )
+       nls? ( sys-devel/gettext )
 "
 
 DOCS=( AUTHORS ChangeLog{,.0,.1,.2} NEWS README )
@@ -27,7 +27,7 @@ DOCS=( AUTHORS ChangeLog{,.0,.1,.2} NEWS README )
 src_configure() {
        econf \
                $(use_enable ipv6) \
-               $(use_enable linguas_ja nls) \
+               $(use_enable nls) \
                $(use_enable threads pthread) \
                --with-pkgdocdir=/usr/share/doc/${PF}/html
 }