summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-03-25 11:06:14 +0100
committerJeroen Roovers <jer@gentoo.org>2017-03-25 11:08:16 +0100
commit9da6c53f8a5685abca1c718063323d005670ac2e (patch)
tree98bbd62c65bf96aab3c001bb05fbafb9d446c204 /net-analyzer/nmap/nmap-9999.ebuild
parentdev-php/PEAR-Crypt_GPG: Mark ~hppa (bug #574264). (diff)
downloadgentoo-9da6c53f8a5685abca1c718063323d005670ac2e.tar.gz
gentoo-9da6c53f8a5685abca1c718063323d005670ac2e.tar.bz2
gentoo-9da6c53f8a5685abca1c718063323d005670ac2e.zip
net-analyzer/nmap: Use a single config.cache to speed up configure.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/nmap/nmap-9999.ebuild')
-rw-r--r--net-analyzer/nmap/nmap-9999.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/net-analyzer/nmap/nmap-9999.ebuild b/net-analyzer/nmap/nmap-9999.ebuild
index 431ae56c880a..ef0334de9f3f 100644
--- a/net-analyzer/nmap/nmap-9999.ebuild
+++ b/net-analyzer/nmap/nmap-9999.ebuild
@@ -97,11 +97,9 @@ src_prepare() {
# Fix desktop files wrt bug #432714
sed -i \
- -e '/^Encoding/d' \
-e 's|^Categories=.*|Categories=Network;System;Security;|g' \
zenmap/install_scripts/unix/zenmap-root.desktop \
zenmap/install_scripts/unix/zenmap.desktop || die
-
cp libdnet-stripped/include/config.h.in{,.nmap-orig} || die
eautoreconf
if [[ ${CHOST} == *-darwin* ]] ; then
@@ -116,17 +114,18 @@ src_configure() {
econf \
$(use_enable ipv6) \
$(use_enable nls) \
- $(use_with zenmap) \
- $(usex nse --with-liblua=$(usex system-lua /usr included '' '') --without-liblua) \
$(use_with ncat) \
$(use_with ndiff) \
$(use_with nmap-update) \
$(use_with nping) \
$(use_with ssl openssl) \
+ $(use_with zenmap) \
+ $(usex nse --with-liblua=$(usex system-lua /usr included '' '') --without-liblua) \
+ --cache-file="${S}"/config.cache \
--with-libdnet=included \
--with-pcre=/usr
+ # Commented out because configure does weird things
# --with-liblinear=/usr \
- # Commented because configure does weird things, while autodetection works
}
src_compile() {