summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-08-11 12:00:52 +0200
committerJeroen Roovers <jer@gentoo.org>2019-08-11 12:06:09 +0200
commit99e1f61d11b69b9917932542a65fe3948b4a4e25 (patch)
treefa08829680338c6e1242b2b1ca8d00606e136e2f /net-analyzer/nmap/files
parentdev-libs/liblinear: Revert "Add IUSE=blas." (diff)
downloadgentoo-99e1f61d11b69b9917932542a65fe3948b4a4e25.tar.gz
gentoo-99e1f61d11b69b9917932542a65fe3948b4a4e25.tar.bz2
gentoo-99e1f61d11b69b9917932542a65fe3948b4a4e25.zip
net-analyzer/nmap: SUBDIRS: Use a patch instead of a sed script
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/nmap/files')
-rw-r--r--net-analyzer/nmap/files/nmap-7.80-ac-config-subdirs.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-analyzer/nmap/files/nmap-7.80-ac-config-subdirs.patch b/net-analyzer/nmap/files/nmap-7.80-ac-config-subdirs.patch
new file mode 100644
index 000000000000..583f7f1d1aa3
--- /dev/null
+++ b/net-analyzer/nmap/files/nmap-7.80-ac-config-subdirs.patch
@@ -0,0 +1,26 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -468,7 +468,6 @@
+ fi
+
+ if test $have_libpcap != yes; then
+- AC_CONFIG_SUBDIRS(libpcap)
+ if test "${LIBPCAP_INC+set}" = "set"; then
+ CPPFLAGS="$CPPFLAGS -I$LIBPCAP_INC"
+ else
+@@ -611,7 +610,6 @@
+ fi
+
+ if test $have_libz != yes; then
+- AC_CONFIG_SUBDIRS(libz)
+ # TODO: This doesn't work because libssh2's configure script is looking for
+ # already-built libs. Giving up for now: build libz first or install
+ # headers/libs on your own if you want compression support for SSH.
+@@ -697,7 +695,6 @@
+ # If we still don't have it, we use our own
+ if test $have_libssh2 != yes; then
+ have_libssh2=yes
+- AC_CONFIG_SUBDIRS(libssh2)
+ CPPFLAGS="-I\$(top_srcdir)/$LIBSSH2DIR/include $CPPFLAGS"
+ LIBSSH2_LIBS="$LIBSSH2DIR/lib/libssh2.a"
+ LIBSSH2_BUILD="build-libssh2"