summaryrefslogtreecommitdiff
path: root/package/nmap
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-15 15:52:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-15 15:52:29 +0100
commit4f157056c307ae7d5d0cbd4fa35ffeb2916cd2e0 (patch)
tree93e8411b288ab46e3e993a1a2f0784255a5fc803 /package/nmap
parent0c0e05a071067aa433b3cf13bd982543d9ad7d17 (diff)
more Darwin compat fixes, add java as build dependency check for xbmc
Diffstat (limited to 'package/nmap')
-rw-r--r--package/nmap/Makefile1
-rw-r--r--package/nmap/patches/patch-liblinear_Makefile16
2 files changed, 17 insertions, 0 deletions
diff --git a/package/nmap/Makefile b/package/nmap/Makefile
index 6a756a4a9..09035c248 100644
--- a/package/nmap/Makefile
+++ b/package/nmap/Makefile
@@ -27,6 +27,7 @@ endif
TARGET_CPPFLAGS+= -DNOLUA
TARGET_LDFLAGS+= -lpthread
+CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
CONFIGURE_ARGS+= --without-openssl \
--without-zenmap \
--without-ndiff \
diff --git a/package/nmap/patches/patch-liblinear_Makefile b/package/nmap/patches/patch-liblinear_Makefile
new file mode 100644
index 000000000..fdb24470d
--- /dev/null
+++ b/package/nmap/patches/patch-liblinear_Makefile
@@ -0,0 +1,16 @@
+--- nmap-6.40.orig/liblinear/Makefile 2011-09-23 23:15:09.000000000 +0200
++++ nmap-6.40/liblinear/Makefile 2014-02-11 19:38:23.000000000 +0100
+@@ -1,10 +1,10 @@
+ CXX ?= g++
+ CC ?= gcc
+-CFLAGS = -Wall -Wconversion -O3 -fPIC
++CFLAGS ?= -Wall -Wconversion -O3 -fPIC
+ LIBS = blas/blas.a
+ SHVER = 1
+-AR = ar
+-RANLIB = ranlib
++AR ?= ar
++RANLIB ?= ranlib
+ #LIBS = -lblas
+
+ all: train predict