summaryrefslogtreecommitdiff
path: root/net/arpwatch/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'net/arpwatch/patches/patch-ad')
-rw-r--r--net/arpwatch/patches/patch-ad30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/arpwatch/patches/patch-ad b/net/arpwatch/patches/patch-ad
new file mode 100644
index 00000000000..1cfd403a24f
--- /dev/null
+++ b/net/arpwatch/patches/patch-ad
@@ -0,0 +1,30 @@
+$NetBSD: patch-ad,v 1.4 1999/04/07 13:01:18 agc Exp $
+
+Make sure we find libpcap in the correct place on Solaris
+
+--- configure 1999/04/07 11:56:33 1.1
++++ configure 1999/04/07 12:01:01
+@@ -2183,7 +2183,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpcap $LIBS"
++LIBS="-L$LOCALBASE/lib -lpcap $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2189 "configure"
+ #include "confdefs.h"
+@@ -2207,12 +2207,12 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- libpcap="-lpcap"
++ libpcap="-L$LOCALBASE/lib -lpcap"
+ else
+ echo "$ac_t""no" 1>&6
+ fi
+
+- if test $libpcap = FAIL ; then
++ if test "X$libpcap" = "XFAIL" ; then
+ { echo "configure: error: see the INSTALL doc for more info" 1>&2; exit 1; }
+ fi
+ else