openbsd-ports/net/nmap/patches/patch-configure
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

21 lines
647 B
Plaintext

$OpenBSD: patch-configure,v 1.16 2012/12/19 17:12:11 giovanni Exp $
--- configure.orig Fri Nov 16 01:54:16 2012
+++ configure Fri Nov 30 12:41:47 2012
@@ -6311,6 +6311,7 @@ else
extern char pcap_version[];
int main() {
int major, minor1, minor2;
+ exit(0); /* fool it, use our libpcap */
sscanf(pcap_version,"%d.%d.%d", &major, &minor1, &minor2);
if (major > 0)
return 0;
@@ -6726,7 +6727,7 @@ if test "${with_liblua+set}" = set; then :
no_lua="yes"
;;
*)
- CPPFLAGS="-I$with_liblua/include $CPPFLAGS"
+ CPPFLAGS="-I$with_liblua/include/lua-5.2 $CPPFLAGS"
LDFLAGS="-L$with_liblua/lib $LDFLAGS"
;;
esac