diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-01-06 19:30:06 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-01-06 19:32:02 +0100 |
commit | 6a0e29a70af811da20c95cbd5a89771db03c99f8 (patch) | |
tree | b530f6a92ee3e6b79accf8fd75020f928a417d1d /net-analyzer/nmap/nmap-9999.ebuild | |
parent | app-arch/brotli: keyworded 1.0.2 for ia64, bug #643182 (diff) | |
download | gentoo-6a0e29a70af811da20c95cbd5a89771db03c99f8.tar.gz gentoo-6a0e29a70af811da20c95cbd5a89771db03c99f8.tar.bz2 gentoo-6a0e29a70af811da20c95cbd5a89771db03c99f8.zip |
net-analyzer/nmap: Remove linguas_* from IUSE.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-analyzer/nmap/nmap-9999.ebuild')
-rw-r--r-- | net-analyzer/nmap/nmap-9999.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net-analyzer/nmap/nmap-9999.ebuild b/net-analyzer/nmap/nmap-9999.ebuild index f92eba2649f1..3424bf9d8b6e 100644 --- a/net-analyzer/nmap/nmap-9999.ebuild +++ b/net-analyzer/nmap/nmap-9999.ebuild @@ -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=6 @@ -22,7 +22,6 @@ IUSE=" zenmap " NMAP_LINGUAS=( de fr hi hr it ja pl pt_BR ru zh ) -IUSE+=" ${NMAP_LINGUAS[@]/#/linguas_}" REQUIRED_USE=" system-lua? ( nse ) ndiff? ( ${PYTHON_REQUIRED_USE} ) @@ -83,10 +82,10 @@ src_prepare() { default + local lingua if use nls; then - local lingua='' for lingua in ${NMAP_LINGUAS[@]}; do - if ! use linguas_${lingua}; then + if ! has ${linguas} ${LINGUAS-${lingua}}; then rm -r zenmap/share/zenmap/locale/${lingua} || die rm zenmap/share/zenmap/locale/${lingua}.po || die fi |