1 |
commit: eba0e3a0dd9ac6ffc9a1ceae51822d65145a0cfb |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 24 12:50:00 2015 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 24 12:50:33 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eba0e3a0 |
7 |
|
8 |
net-analyzer/nmap: Make makefile.dep. Do not remove targets. |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-analyzer/nmap/nmap-7.01.ebuild | 10 ++++++++++ |
13 |
1 file changed, 10 insertions(+) |
14 |
|
15 |
diff --git a/net-analyzer/nmap/nmap-7.01.ebuild b/net-analyzer/nmap/nmap-7.01.ebuild |
16 |
index 0022291..dd19efc 100644 |
17 |
--- a/net-analyzer/nmap/nmap-7.01.ebuild |
18 |
+++ b/net-analyzer/nmap/nmap-7.01.ebuild |
19 |
@@ -96,6 +96,11 @@ src_prepare() { |
20 |
-e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \ |
21 |
Makefile.in || die |
22 |
|
23 |
+ sed -i \ |
24 |
+ -e '/rm -f $@/d' \ |
25 |
+ $(find . -name Makefile.in) \ |
26 |
+ || die |
27 |
+ |
28 |
# Fix desktop files wrt bug #432714 |
29 |
sed -i \ |
30 |
-e '/^Encoding/d' \ |
31 |
@@ -126,6 +131,11 @@ src_configure() { |
32 |
} |
33 |
|
34 |
src_compile() { |
35 |
+ local directory |
36 |
+ for directory in . libnetutil ncat nmap-update nping nsock/src; do |
37 |
+ emake -C "${directory}" makefile.dep |
38 |
+ done |
39 |
+ |
40 |
emake \ |
41 |
AR=$(tc-getAR) \ |
42 |
RANLIB=$(tc-getRANLIB) |