diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 14:56:04 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 14:56:04 +0200 |
commit | 6d7a7f4776711758cf5b59028378f01cd8eba493 (patch) | |
tree | 67cc0ff4f56a0d7e1deff1d0a39867d486c86a9b /package/libnids | |
parent | 18b38b0eb68cbcb8793efe989dcd8796a60288af (diff) |
FreeBSD compatibility patches
- update ipset and libpri to latest upstream
Diffstat (limited to 'package/libnids')
-rw-r--r-- | package/libnids/Makefile | 3 | ||||
-rw-r--r-- | package/libnids/patches/patch-configure_in | 11 |
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" |