app-text/iso-codes: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 18:29:38 +0000 (19:29 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 18:30:09 +0000 (19:30 +0100)
Closes: https://bugs.gentoo.org/643594
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-text/iso-codes/iso-codes-3.75.ebuild
app-text/iso-codes/iso-codes-3.76.ebuild

index 7b19bfc4b0e97816fecc45366b8290a0dc9662cb..b5a8f0e064c345bab5fc1fd0ce092d46c4c1c460 100644 (file)
@@ -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
index 64c8a46ae42ecaa11f2252c674c89f216de6672b..c2b562449314f3c51a08bb39e419249d3528baf3 100644 (file)
@@ -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