From 4f157056c307ae7d5d0cbd4fa35ffeb2916cd2e0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 15 Feb 2014 15:52:29 +0100 Subject: more Darwin compat fixes, add java as build dependency check for xbmc --- package/nmap/Makefile | 1 + package/nmap/patches/patch-liblinear_Makefile | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 package/nmap/patches/patch-liblinear_Makefile (limited to 'package/nmap') 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 -- cgit v1.2.3