commit:     648401f62dac58e4e23aa3d7f7215dfd82129a30
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 25 14:59:24 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 15:01:55 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648401f6

net-analyzer/nmap: Conditionally make makefile.dep (bug #569678 by iGentoo).

Package-Manager: portage-2.2.26

 net-analyzer/nmap/nmap-7.01.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/nmap/nmap-7.01.ebuild 
b/net-analyzer/nmap/nmap-7.01.ebuild
index dd19efc..9c90f5a 100644
--- a/net-analyzer/nmap/nmap-7.01.ebuild
+++ b/net-analyzer/nmap/nmap-7.01.ebuild
@@ -132,7 +132,11 @@ src_configure() {
 
 src_compile() {
        local directory
-       for directory in . libnetutil ncat nmap-update nping nsock/src; do
+       for directory in . libnetutil nsock/src \
+               $(usex ncat ncat '') \
+               $(usex nmap-update nmap-update '') \
+               $(usex nping nping '')
+       do
                emake -C "${directory}" makefile.dep
        done
 

Reply via email to