summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-06 21:39:43 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-06 21:40:23 +0100
commit33b323a8377c686057fd41a1fcfe4aed8f72c574 (patch)
tree5c0a78b1dc2dd475da93f91eb32c39ea34363ad5 /sci-chemistry/gperiodic
parentnet-misc/teamviewer: switch wine dep also in metadata (diff)
downloadgentoo-33b323a8377c686057fd41a1fcfe4aed8f72c574.tar.gz
gentoo-33b323a8377c686057fd41a1fcfe4aed8f72c574.tar.bz2
gentoo-33b323a8377c686057fd41a1fcfe4aed8f72c574.zip
sci-chemistry/gperiodic: Test LINGUAS rather than linguas_* USE flags.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-chemistry/gperiodic')
-rw-r--r--sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild b/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild
index 5e16fff43ec1..e0d3ee51c5e6 100644
--- a/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild
+++ b/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,7 +14,6 @@ SLOT="0"
LICENSE="GPL-2"
IUSE="nls"
MY_AVAILABLE_LINGUAS=" be bg cs da de es fi fr gl id is it lt ms nl pl pt_BR pt ru sv tr uk"
-IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
RDEPEND="
sys-libs/ncurses:0
@@ -29,7 +28,7 @@ src_prepare() {
"${FILESDIR}"/${P}-makefile.patch \
"${FILESDIR}"/${P}-nls.patch
for lang in ${MY_AVAILABLE_LINGUAS}; do
- if ! use linguas_${lang}; then
+ if ! has ${lang} ${LINGUAS-${lang}}; then
einfo "Cleaning translation for ${lang}"
rm po/${lang}.po || die
fi