commit:     bb6ca74f6a867328641068203acacb82e3c41efd
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 13:53:39 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 13:54:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb6ca74f

app-crypt/tinyca: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild 
b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
index ebe61338771..274da28fc84 100644
--- a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
+++ b/app-crypt/tinyca/tinyca-2.0.7.5-r3.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
@@ -16,10 +16,6 @@ KEYWORDS="amd64 ~ppc ~sparc x86"
 IUSE="libressl"
 LANGS="en de cs es sv"
 
-for X in ${LANGS} ; do
-       IUSE="${IUSE} linguas_${X}"
-done
-
 RDEPEND="
        !libressl? ( dev-libs/openssl:0= )
        libressl? ( dev-libs/libressl:0= )
@@ -67,7 +63,7 @@ src_install() {
        local l
        for l in ${LANGS}; do
                if [ "$l" != "en" ]; then
-                       use linguas_$l && locale_install $l
+                       has ${l} ${LINGUAS-${l}} && locale_install $l
                fi
        done
 }

Reply via email to