app-emulation/virt-manager: Remove linguas_* from IUSE.
authorUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 12:10:27 +0000 (13:10 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 12:22:55 +0000 (13:22 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-emulation/virt-manager/virt-manager-1.4.0-r3.ebuild

index f8f48ff663090cebbfee0a9f25637ada7a81b8e0..04113c1f918cece66915eacfb0d0a5b4b36ad6ff 100644 (file)
@@ -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=5
@@ -27,7 +27,7 @@ VM_LINGUAS=( as bg bn_IN bs ca cmn cs da de en_GB es fi fr gu hi hr hu is
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="gnome-keyring gtk policykit sasl ${VM_LINGUAS[@]/#/linguas_}"
+IUSE="gnome-keyring gtk policykit sasl"
 
 RDEPEND="!app-emulation/virtinst
        dev-python/libvirt-python[${PYTHON_USEDEP}]
@@ -60,7 +60,7 @@ src_prepare() {
 
        local lang
        for lang in ${VM_LINGUAS[@]}; do
-               use linguas_${lang} || rm -v "po/${lang}.po" || die
+               has ${lang} ${LINGUAS-${lang}} || rm -v "po/${lang}.po" || die
        done
 }