From 6d7a7f4776711758cf5b59028378f01cd8eba493 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 13 Jun 2009 14:56:04 +0200 Subject: FreeBSD compatibility patches - update ipset and libpri to latest upstream --- package/libnids/Makefile | 3 ++- package/libnids/patches/patch-configure_in | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 package/libnids/patches/patch-configure_in (limited to 'package/libnids') 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" -- cgit v1.2.3