commit:     9af40458b9903614781d813d558254b239c951c5
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 15:18:56 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 15:18:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af40458

sys-apps/pv: Remove linguas_* from IUSE.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/pv/pv-1.6.0-r1.ebuild | 5 ++---
 sys-apps/pv/pv-1.6.6.ebuild    | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys-apps/pv/pv-1.6.0-r1.ebuild b/sys-apps/pv/pv-1.6.0-r1.ebuild
index 1a443a65954..03cae302ea4 100644
--- a/sys-apps/pv/pv-1.6.0-r1.ebuild
+++ b/sys-apps/pv/pv-1.6.0-r1.ebuild
@@ -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

diff --git a/sys-apps/pv/pv-1.6.6.ebuild b/sys-apps/pv/pv-1.6.6.ebuild
index b3b8222481a..a411e2bb077 100644
--- a/sys-apps/pv/pv-1.6.6.ebuild
+++ b/sys-apps/pv/pv-1.6.6.ebuild
@@ -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

Reply via email to