summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-07 14:53:39 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-07 14:54:49 +0100
commitbb6ca74f6a867328641068203acacb82e3c41efd (patch)
tree4726491df9aab7e6d13fa99522f5cfb4bfa54118 /app-crypt
parentapp-text/diffpdf: Drop old (diff)
downloadgentoo-bb6ca74f6a867328641068203acacb82e3c41efd.tar.gz
gentoo-bb6ca74f6a867328641068203acacb82e3c41efd.tar.bz2
gentoo-bb6ca74f6a867328641068203acacb82e3c41efd.zip
app-crypt/tinyca: Test LINGUAS rather than linguas_* USE flags.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild8
1 files 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 ebe613387710..274da28fc848 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
}