net-analyzer/nmap: Work around Makefile fail in ebuild (bug #563038 by Macintosh).
authorJeroen Roovers <jer@gentoo.org>
Fri, 16 Oct 2015 04:37:13 +0000 (06:37 +0200)
committerJeroen Roovers <jer@gentoo.org>
Fri, 16 Oct 2015 04:37:39 +0000 (06:37 +0200)
Package-Manager: portage-2.2.23

net-analyzer/nmap/nmap-9999.ebuild

index 1e02fc02e780b1a3d736a4dfc0c5e1c37b02e271..f72ca712968e3f7190af452ab0b9706121f99c28 100644 (file)
@@ -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 )