openbsd-ports/net/nmap/patches/patch-configure_ac

13 lines
427 B
Plaintext

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -241,7 +241,7 @@ NDIFFDIR=ndiff
# Do they want Ndiff?
AC_ARG_WITH(ndiff, AC_HELP_STRING([--without-ndiff], [Skip installation of the Ndiff utility]), [], [with_ndiff=check])
-if $HAVE_PYTHON2 ; then : ;
+if $HAVE_PYTHON ; then : ;
else
if test "$with_ndiff" = "check" ; then
AC_MSG_WARN([Not building Ndiff because Python 2.x with x>=4 was not found])