sys-apps/pv: Remove linguas_* from IUSE.
authorUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 15:18:56 +0000 (16:18 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 15:18:56 +0000 (16:18 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

sys-apps/pv/pv-1.6.0-r1.ebuild
sys-apps/pv/pv-1.6.6.ebuild

index 1a443a6595458603903944b78c24e57562fccae2..03cae302ea4bcd3d5b6f5ae56a24163f2228fb2b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,6 @@ KEYWORDS="alpha amd64 arm arm64 hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86
 IUSE="debug nls"
 
 PV_LINGUAS=( de fr pl pt )
-IUSE+=" ${PV_LINGUAS[@]/#/linguas_}"
 
 DOCS=( README doc/NEWS doc/TODO )
 
@@ -38,7 +37,7 @@ src_configure() {
        tc-export AR
        local lingua
        for lingua in ${PV_LINGUAS[@]}; do
-               if ! use linguas_${lingua}; then
+               if ! has ${lingua} ${LINGUAS-${lingua}}; then
                        sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die
                fi
        done
index b3b8222481a966e7566aebc18d6623f4310059f1..a411e2bb077025a2254459422c000735df5c2cd8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-l
 IUSE="debug nls"
 
 PV_LINGUAS=( de fr pl pt )
-IUSE+=" ${PV_LINGUAS[@]/#/linguas_}"
 
 DOCS=( README doc/NEWS doc/TODO )
 
@@ -41,7 +40,7 @@ src_configure() {
        tc-export AR
        local lingua
        for lingua in ${PV_LINGUAS[@]}; do
-               if ! use linguas_${lingua}; then
+               if ! has ${lingua} ${LINGUAS-${lingua}}; then
                        sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die
                fi
        done