summaryrefslogtreecommitdiff
path: root/security/dsniff/patches/patch-ad
blob: 6224a1f5868c191da44a4841e903d6706113bea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ad,v 1.1 2007/02/18 18:56:13 adrianp Exp $

--- configure.orig	2000-12-03 04:35:46.000000000 +0000
+++ configure
@@ -3083,10 +3083,10 @@ if test "${with_libnet+set}" = set; then
      ;;
   esac 
 else
-   if test -f ${prefix}/include/libnet.h; then
+   if test -f @@LN_INC@@/libnet.h; then
      CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`"
-     LNETINC="-I${prefix}/include"
-     LNETLIB="-L${prefix}/lib -lnet"
+     LNETINC="-I@@LN_INC@@"
+     LNETLIB="-L@@LN_LIB@@ -lnet"
   elif test -f /usr/include/libnet.h; then
      CFLAGS="$CFLAGS `libnet-config --defines`"
      LNETLIB="-lnet"