summaryrefslogtreecommitdiff
path: root/net-analyzer/nmap/nmap-7.40.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
commita8b0d35ab742f31538d515dea39716e566d533c0 (patch)
tree40c6c87a13f0e5ef1111ed1bdd9191f3bd1c1e59 /net-analyzer/nmap/nmap-7.40.ebuild
parent8fcdcec5fbdd0e3a77391e4f354218014f59f358 (diff)
gentoo resync : 06.01.2018
Diffstat (limited to 'net-analyzer/nmap/nmap-7.40.ebuild')
-rw-r--r--net-analyzer/nmap/nmap-7.40.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/net-analyzer/nmap/nmap-7.40.ebuild b/net-analyzer/nmap/nmap-7.40.ebuild
index 1582792f3e64..75ad3bdc6aaa 100644
--- a/net-analyzer/nmap/nmap-7.40.ebuild
+++ b/net-analyzer/nmap/nmap-7.40.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 @@ KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~
IUSE="ipv6 libressl +nse system-lua ncat ndiff nls nmap-update nping ssl zenmap"
NMAP_LINGUAS=( de fr hi hr it ja pl pt_BR ru zh )
-IUSE+=" ${NMAP_LINGUAS[@]/#/linguas_}"
REQUIRED_USE="
system-lua? ( nse )
@@ -82,10 +81,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