diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-06-13 19:49:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-06-13 19:49:29 +0200 |
commit | c031bfdb6eb7d78e3747ca19516977a56fc8f71a (patch) | |
tree | 0293cffc11b517b3ecf2f976de5e9d2b287d26ba /package/libnids/patches/patch-configure | |
parent | df099ef028d1d4a3df380c472f450dc7980a846b (diff) |
fix some bulk build issues
Diffstat (limited to 'package/libnids/patches/patch-configure')
-rw-r--r-- | package/libnids/patches/patch-configure | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/libnids/patches/patch-configure b/package/libnids/patches/patch-configure new file mode 100644 index 000000000..01a4d76fd --- /dev/null +++ b/package/libnids/patches/patch-configure @@ -0,0 +1,17 @@ +--- libnids-1.24.orig/configure 2006-05-01 19:14:51.000000000 +0200 ++++ libnids-1.24/configure 2011-05-16 16:03:49.766610900 +0200 +@@ -3919,11 +3919,11 @@ echo "${ECHO_T}no" >&6 + *) + echo "$as_me:$LINENO: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then ++ if test -f $withval/include/pcap.h; then + owd=`pwd` + if cd $withval; then withval=`pwd`; cd $owd; fi +- PCAP_CFLAGS="-I$withval -I$withval/bpf" +- PCAPLIB="-L$withval -lpcap" ++ PCAP_CFLAGS="-I$withval/include -I$withval/include/bpf" ++ PCAPLIB="-L$withval/lib -lpcap" + else + { { echo "$as_me:$LINENO: error: pcap.h or libpcap.a not found in $withval" >&5 + echo "$as_me: error: pcap.h or libpcap.a not found in $withval" >&2;} |