summaryrefslogtreecommitdiff
path: root/package/libnids/patches/patch-configure_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
commit407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch)
tree0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/libnids/patches/patch-configure_in
parent2ecefcf609e484d04d1546581191831e07ad71ec (diff)
parentabb858ae43374dc13a5fcef19b9e0ba9442013bb (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libnids/patches/patch-configure_in')
-rw-r--r--package/libnids/patches/patch-configure_in20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libnids/patches/patch-configure_in b/package/libnids/patches/patch-configure_in
new file mode 100644
index 000000000..2554d2f32
--- /dev/null
+++ b/package/libnids/patches/patch-configure_in
@@ -0,0 +1,20 @@
+--- libnids-1.24.orig/configure.in 2006-05-01 19:14:51.000000000 +0200
++++ libnids-1.24/configure.in 2014-01-06 16:25:57.765584034 +0100
+@@ -65,13 +65,13 @@ 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; 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
+- AC_ERROR(pcap.h or libpcap.a not found in $withval)
++ AC_ERROR(pcap.h not found in $withval)
+ fi
+ ;;
+ esac ],