summaryrefslogtreecommitdiff
path: root/package/libnids
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-13 17:15:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-13 17:15:01 +0200
commitd2e5a673aa7637c990ca7307e831327eb67e3fe7 (patch)
tree70e2d421684317208dc94db354551aca749b3328 /package/libnids
parenta8259a651484f6dd5051a20e64f43ae27fc04613 (diff)
parent6d7a7f4776711758cf5b59028378f01cd8eba493 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libnids')
-rw-r--r--package/libnids/Makefile3
-rw-r--r--package/libnids/patches/patch-configure_in11
2 files changed, 13 insertions, 1 deletions
diff --git a/package/libnids/Makefile b/package/libnids/Makefile
index 85d89edbf..fe439d17c 100644
--- a/package/libnids/Makefile
+++ b/package/libnids/Makefile
@@ -17,7 +17,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBNIDS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE:= gnu
+CONFIGURE_STYLE:= autoconf gnu
+CONFIGURE_ARGS+= --with-libpcap=${STAGING_DIR}/usr
CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
XAKE_FLAGS+= install_prefix="${WRKINST}"
BUILD_STYLE:= auto
diff --git a/package/libnids/patches/patch-configure_in b/package/libnids/patches/patch-configure_in
new file mode 100644
index 000000000..c9e9fdb59
--- /dev/null
+++ b/package/libnids/patches/patch-configure_in
@@ -0,0 +1,11 @@
+--- libnids-1.23.orig/configure.in 2006-05-01 19:14:51.000000000 +0200
++++ libnids-1.23/configure.in 2009-06-12 22:16:51.000000000 +0200
+@@ -65,7 +65,7 @@ AC_ARG_WITH(libpcap,
+ ;;
+ *)
+ AC_MSG_RESULT($withval)
+- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
++ if test -f $withval/include/pcap.h -a -f $withval/lib/libpcap.a; then
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+ PCAP_CFLAGS="-I$withval -I$withval/bpf"