diff options
Diffstat (limited to 'sys-apps/pv/pv-1.6.6.ebuild')
-rw-r--r-- | sys-apps/pv/pv-1.6.6.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
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 |