From abf464bfec15b197ab0f698ee899b1197949bb98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Sun, 7 Jan 2018 12:14:08 +0100 Subject: [PATCH] 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 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 } -- 2.26.2