From: Ulrich Müller Date: Fri, 5 Jan 2018 18:29:38 +0000 (+0100) Subject: app-text/iso-codes: Test LINGUAS rather than linguas_* USE flags. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2c3014f6a6dc7ab31520e65680eb5def3e18cd11;p=gentoo.git app-text/iso-codes: Test LINGUAS rather than linguas_* USE flags. Closes: https://bugs.gentoo.org/643594 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- diff --git a/app-text/iso-codes/iso-codes-3.75.ebuild b/app-text/iso-codes/iso-codes-3.75.ebuild index 7b19bfc4b0e9..b5a8f0e064c3 100644 --- a/app-text/iso-codes/iso-codes-3.75.ebuild +++ b/app-text/iso-codes/iso-codes-3.75.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 @@ -64,7 +64,7 @@ src_prepare() { pushd "${std}" >/dev/null || die mylinguas=() for loc in *.po; do - if use "linguas_${loc%.po}"; then + if has ${loc%.po} ${LINGUAS-${loc%.po}}; then mylinguas+=( "${loc}" ) fi done diff --git a/app-text/iso-codes/iso-codes-3.76.ebuild b/app-text/iso-codes/iso-codes-3.76.ebuild index 64c8a46ae42e..c2b562449314 100644 --- a/app-text/iso-codes/iso-codes-3.76.ebuild +++ b/app-text/iso-codes/iso-codes-3.76.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 @@ -64,7 +64,7 @@ src_prepare() { pushd "${std}" >/dev/null || die mylinguas=() for loc in *.po; do - if use "linguas_${loc%.po}"; then + if has ${loc%.po} ${LINGUAS-${loc%.po}}; then mylinguas+=( "${loc}" ) fi done