openbsd-ports/net/nmap/patches/patch-Makefile_in
giovanni e6fc392521 Update to 6.25
lot of improvements in nse scripting engine and in ipv6 support
Full changelog: http://nmap.org/changelog.html
Help and ok sthen@ and dcoppa@
2012-12-19 17:12:11 +00:00

24 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.14 2012/12/19 17:12:11 giovanni Exp $
--- Makefile.in.orig Thu Sep 13 02:17:42 2012
+++ Makefile.in Fri Nov 30 12:41:47 2012
@@ -45,7 +45,7 @@ DEFS += -D_FORTIFY_SOURCE=2
# Should only be enabled during debugging and not in any real release.
# DEFS += -DMTRACE=1
CXXFLAGS = @CXXFLAGS@ $(DBGFLAGS) $(CCOPT)
-CPPFLAGS = @CPPFLAGS@ $(DEFS)
+CPPFLAGS = -I./libdnet-stripped/include @CPPFLAGS@ $(DEFS)
export CFLAGS = $(CXXFLAGS)
# CFLAGS = $(DEFS) $(INCLS)
STATIC =
@@ -285,8 +285,8 @@ $(NPINGDIR)/nping.h: nmap.h
mv -f $@.tmp $@
# Update the version number used by Zenmap.
-$(ZENMAPDIR)/zenmapCore/Version.py $(ZENMAPDIR)/share/zenmap/config/zenmap_version: nmap.h
- cd $(ZENMAPDIR) && $(PYTHON) install_scripts/utils/version_update.py "$(NMAP_VERSION)"
+#$(ZENMAPDIR)/zenmapCore/Version.py $(ZENMAPDIR)/share/zenmap/config/zenmap_version: nmap.h
+# cd $(ZENMAPDIR) && $(PYTHON) install_scripts/utils/version_update.py "$(NMAP_VERSION)"
nmap-update/default_channel.h: nmap.h
sed -e 's/^#[ \t]*define[ \t]\+DEFAULT_CHANNEL[ \t]\+\(".*"\)/#define DEFAULT_CHANNEL "$(NMAP_UPDATE_CHANNEL)"/' $@ > $@.tmp