diff options
author | agc <agc@pkgsrc.org> | 1999-04-07 13:01:17 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-04-07 13:01:17 +0000 |
commit | 86e27307f3ac7f4d00f30fd85c58171dd353ba6d (patch) | |
tree | 51e925f24e2a4a79378cfa0b4a839b06939be93a /net/arpwatch/patches | |
parent | a2a0edbda8b2f1cb6b131ea945b649fc7cd91dcd (diff) | |
download | pkgsrc-86e27307f3ac7f4d00f30fd85c58171dd353ba6d.tar.gz |
Make this package work on Solaris.
Diffstat (limited to 'net/arpwatch/patches')
-rw-r--r-- | net/arpwatch/patches/patch-ad | 30 |
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 |