add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / net / nprobe / patches / 002-path_to_pcap.patch
1 --- a/configure.in
2 +++ b/configure.in
3 @@ -331,8 +331,8 @@ dnl> user defined directory passed as op
4  dnl>
5  if test ".${PCAP_ROOT}" != .; then
6    if test -d $PCAP_ROOT &&
7 -     test -r $PCAP_ROOT/libpcap.a &&
8 -     test -r $PCAP_ROOT/pcap.h; then
9 +     test -r $PCAP_ROOT/lib/libpcap.a &&
10 +     test -r $PCAP_ROOT/include/pcap.h; then
11         PCAP_ROOT=`cd ${PCAP_ROOT} && pwd`
12         CORELIBS="${CORELIBS} -L$PCAP_ROOT -lpcap"
13         INCS="${INCS} -I$PCAP_ROOT"