From: Jeroen Roovers Date: Fri, 16 Oct 2015 04:37:13 +0000 (+0200) Subject: net-analyzer/nmap: Work around Makefile fail in ebuild (bug #563038 by Macintosh). X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6312082dd25ab32a275d33330a18bee445486957;p=gentoo.git net-analyzer/nmap: Work around Makefile fail in ebuild (bug #563038 by Macintosh). Package-Manager: portage-2.2.23 --- diff --git a/net-analyzer/nmap/nmap-9999.ebuild b/net-analyzer/nmap/nmap-9999.ebuild index 1e02fc02e780..f72ca712968e 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 )