From 2c3014f6a6dc7ab31520e65680eb5def3e18cd11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Fri, 5 Jan 2018 19:29:38 +0100 Subject: [PATCH] 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 --- app-text/iso-codes/iso-codes-3.75.ebuild | 4 ++-- 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 -- 2.26.2