summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-06 16:18:56 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-06 16:18:56 +0100
commit9af40458b9903614781d813d558254b239c951c5 (patch)
tree6523d9d0212c245258eb1f6a250ab6bc7bfcd8fd /sys-apps/pv
parentsys-apps/shadow: Remove linguas_* from IUSE. (diff)
downloadgentoo-9af40458b9903614781d813d558254b239c951c5.tar.gz
gentoo-9af40458b9903614781d813d558254b239c951c5.tar.bz2
gentoo-9af40458b9903614781d813d558254b239c951c5.zip
sys-apps/pv: Remove linguas_* from IUSE.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-apps/pv')
-rw-r--r--sys-apps/pv/pv-1.6.0-r1.ebuild5
-rw-r--r--sys-apps/pv/pv-1.6.6.ebuild5
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 1a443a659545..03cae302ea4b 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 b3b8222481a9..a411e2bb0770 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