commit:     abf464bfec15b197ab0f698ee899b1197949bb98
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 11:14:08 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 11:20:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abf464bf

app-misc/emelfm2: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild | 5 ++---
 app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild | 5 ++---
 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 6c74bb99d21..afac8716bab 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 e3fc45f7773..f59d82948f6 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
 }
 

Reply via email to