From eba0e3a0dd9ac6ffc9a1ceae51822d65145a0cfb Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Thu, 24 Dec 2015 13:50:00 +0100 Subject: [PATCH] net-analyzer/nmap: Make makefile.dep. Do not remove targets. Package-Manager: portage-2.2.26 --- net-analyzer/nmap/nmap-7.01.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/net-analyzer/nmap/nmap-7.01.ebuild b/net-analyzer/nmap/nmap-7.01.ebuild index 0022291860af..dd19efc9d733 100644 --- a/net-analyzer/nmap/nmap-7.01.ebuild +++ b/net-analyzer/nmap/nmap-7.01.ebuild @@ -96,6 +96,11 @@ src_prepare() { -e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \ Makefile.in || die + sed -i \ + -e '/rm -f $@/d' \ + $(find . -name Makefile.in) \ + || die + # Fix desktop files wrt bug #432714 sed -i \ -e '/^Encoding/d' \ @@ -126,6 +131,11 @@ src_configure() { } src_compile() { + local directory + for directory in . libnetutil ncat nmap-update nping nsock/src; do + emake -C "${directory}" makefile.dep + done + emake \ AR=$(tc-getAR) \ RANLIB=$(tc-getRANLIB) -- 2.26.2