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

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Ulrich Müller
2018-01-07 14:53:39 +01:00
parent 741d07d375
commit bb6ca74f6a

View 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
}