let ipkg fail when a package file to be installed is not found
[openwrt/staging/wigyori.git] / openwrt / package / arpd / patches / configure-no-bpf.patch
1 --- arpd/configure.orig Sun Feb 9 19:31:28 2003
2 +++ arpd/configure Thu Jul 21 16:05:16 2005
3 @@ -2258,8 +2258,7 @@
4 if cd $withval; then withval=`pwd`; cd $owd; fi
5 PCAPINC="-I$withval -I$withval/bpf"
6 PCAPLIB="-L$withval -lpcap"
7 - elif test -f $withval/include/pcap.h -a \
8 - -f $withval/include/net/bpf.h; then
9 + elif test -f $withval/include/pcap.h; then
10 owd=`pwd`
11 if cd $withval; then withval=`pwd`; cd $owd; fi
12 PCAPINC="-I$withval/include"