diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/arpd/patches/patch-configure |
Initial import
Diffstat (limited to 'package/arpd/patches/patch-configure')
-rw-r--r-- | package/arpd/patches/patch-configure | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/arpd/patches/patch-configure b/package/arpd/patches/patch-configure new file mode 100644 index 000000000..8e2dd6e82 --- /dev/null +++ b/package/arpd/patches/patch-configure @@ -0,0 +1,28 @@ +$Id$ +--- arpd.orig/configure 2003-02-09 19:31:28.000000000 +0100 ++++ arpd/configure 2007-01-21 00:51:54.000000000 +0100 +@@ -2205,12 +2205,12 @@ echo "${ECHO_T}no" >&6 + *) + echo "$as_me:2206: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then ++ if test -f $withval/include/event.h; then + owd=`pwd` + if cd $withval; then withval=`pwd`; cd $owd; fi + EVENTINC="-I$withval/include" + EVENTLIB="-L$withval/lib -levent" +- elif test -f $withval/event.h -a -f $withval/libevent.a; then ++ elif test -f $withval/event.h; then + owd=`pwd` + if cd $withval; then withval=`pwd`; cd $owd; fi + EVENTINC="-I$withval" +@@ -2258,8 +2258,7 @@ echo "${ECHO_T}$withval" >&6 + if cd $withval; then withval=`pwd`; cd $owd; fi + PCAPINC="-I$withval -I$withval/bpf" + PCAPLIB="-L$withval -lpcap" +- elif test -f $withval/include/pcap.h -a \ +- -f $withval/include/net/bpf.h; then ++ elif test -f $withval/include/pcap.h; then + owd=`pwd` + if cd $withval; then withval=`pwd`; cd $owd; fi + PCAPINC="-I$withval/include" |