summaryrefslogtreecommitdiff
path: root/app-text/iso-codes/iso-codes-3.75.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/iso-codes/iso-codes-3.75.ebuild')
-rw-r--r--app-text/iso-codes/iso-codes-3.75.ebuild4
1 files changed, 2 insertions, 2 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