Skip to content

Commit

Permalink
app-crypt/tinyca: Test LINGUAS rather than linguas_* USE flags.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
ulm committed Jan 7, 2018
1 parent 741d07d commit bb6ca74
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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= )
Expand Down Expand Up @@ -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
}

0 comments on commit bb6ca74

Please sign in to comment.