diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-01-05 19:29:38 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-01-05 19:30:09 +0100 |
commit | 2c3014f6a6dc7ab31520e65680eb5def3e18cd11 (patch) | |
tree | 2e90a410241cfd48bcb1273ec949073146b00d42 /app-text/iso-codes | |
parent | profiles: Remove unused linguas_* from use.desc. (diff) | |
download | gentoo-2c3014f6a6dc7ab31520e65680eb5def3e18cd11.tar.gz gentoo-2c3014f6a6dc7ab31520e65680eb5def3e18cd11.tar.bz2 gentoo-2c3014f6a6dc7ab31520e65680eb5def3e18cd11.zip |
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
Diffstat (limited to 'app-text/iso-codes')
-rw-r--r-- | app-text/iso-codes/iso-codes-3.75.ebuild | 4 | ||||
-rw-r--r-- | app-text/iso-codes/iso-codes-3.76.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
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 |