app-crypt/tinyca: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 13:53:39 +0000 (14:53 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 13:54:49 +0000 (14:54 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild

index ebe613387710dcc2875d0af9c64979beb779a702..274da28fc8482b21c37b34726ea4c7b6d6a73f67 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
@@ -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
 }