commit:     eba0e3a0dd9ac6ffc9a1ceae51822d65145a0cfb
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 24 12:50:00 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Dec 24 12:50:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eba0e3a0

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 0022291..dd19efc 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)

Reply via email to