summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-07 12:14:08 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-07 12:20:39 +0100
commitabf464bfec15b197ab0f698ee899b1197949bb98 (patch)
treebeca475fe5f39e78b48d7c329e6949e62a8681a1 /app-misc/emelfm2
parentsys-libs/gdbm: stable 1.13-r2 for hppa, bug #643100 (diff)
downloadgentoo-abf464bfec15b197ab0f698ee899b1197949bb98.tar.gz
gentoo-abf464bfec15b197ab0f698ee899b1197949bb98.tar.bz2
gentoo-abf464bfec15b197ab0f698ee899b1197949bb98.zip
app-misc/emelfm2: Test LINGUAS rather than linguas_* USE flags.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-misc/emelfm2')
-rw-r--r--app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild5
-rw-r--r--app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild5
2 files changed, 4 insertions, 6 deletions
diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild
index 6c74bb99d21a..afac8716bab9 100644
--- a/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild
+++ b/app-misc/emelfm2/emelfm2-0.9.1-r1.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 @@ KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
IUSE="acl ansi gimp gtk3 kernel_linux nls policykit spell udisks"
EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
-IUSE+=" ${EMELFM2_LINGUAS[@]/#/linguas_}"
COMMON_DEPEND="
>=dev-libs/glib-2.26:2
@@ -46,7 +45,7 @@ src_prepare() {
local lingua
for lingua in ${EMELFM2_LINGUAS[@]}; do
- use linguas_${lingua} || mv po/${lingua}.po{,.unwanted}
+ has ${lingua} ${LINGUAS-${lingua}} || mv po/${lingua}.po{,.unwanted}
done
}
diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
index e3fc45f7773b..f59d82948f66 100644
--- a/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
+++ b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,7 +14,6 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="acl ansi gimp gtk3 kernel_linux nls policykit spell udisks"
EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
-IUSE+=" ${EMELFM2_LINGUAS[@]/#/linguas_}"
COMMON_DEPEND="
>=dev-libs/glib-2.26:2
@@ -46,7 +45,7 @@ src_prepare() {
local lingua
for lingua in ${EMELFM2_LINGUAS[@]}; do
- use linguas_${lingua} || mv po/${lingua}.po{,.unwanted}
+ has ${lingua} ${LINGUAS-${lingua}} || mv po/${lingua}.po{,.unwanted}
done
}