commit:     6312082dd25ab32a275d33330a18bee445486957
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 04:37:13 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 04:37:39 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6312082d

net-analyzer/nmap: Work around Makefile fail in ebuild (bug #563038 by 
Macintosh).

Package-Manager: portage-2.2.23

 net-analyzer/nmap/nmap-9999.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/nmap/nmap-9999.ebuild 
b/net-analyzer/nmap/nmap-9999.ebuild
index 1e02fc0..f72ca71 100644
--- a/net-analyzer/nmap/nmap-9999.ebuild
+++ b/net-analyzer/nmap/nmap-9999.ebuild
@@ -64,12 +64,10 @@ src_prepare() {
                "${FILESDIR}"/${PN}-4.75-nolua.patch \
                "${FILESDIR}"/${PN}-5.10_beta1-string.patch \
                "${FILESDIR}"/${PN}-5.21-python.patch \
-               "${FILESDIR}"/${PN}-6.01-make.patch \
                "${FILESDIR}"/${PN}-6.25-liblua-ar.patch \
                "${FILESDIR}"/${PN}-6.46-uninstaller.patch \
                "${FILESDIR}"/${PN}-6.47-no-libnl.patch \
-               "${FILESDIR}"/${PN}-no-FORTIFY_SOURCE.patch \
-               "${FILESDIR}"/${PN}-6.47-ncat-lua.patch
+               "${FILESDIR}"/${PN}-no-FORTIFY_SOURCE.patch
 
        if use nls; then
                local lingua=''
@@ -121,6 +119,12 @@ src_configure() {
 }
 
 src_compile() {
+       local dep deps="build-dnet build-nbase build-nsock build-netutil"
+
+       for dep in ${deps}; do
+               emake makefile.dep ${dep}
+       done
+
        emake \
                AR=$(tc-getAR) \
                RANLIB=$(tc-getRANLIB )

Reply via email to