28 lines
916 B
Text
28 lines
916 B
Text
$NetBSD: patch-ae,v 1.3 2009/12/23 07:03:17 obache Exp $
|
|
|
|
--- configure.orig 2005-05-27 16:11:45.000000000 +0100
|
|
+++ configure
|
|
@@ -2169,7 +2169,7 @@ fi
|
|
|
|
OS="LINUX"
|
|
;;
|
|
-*freebsd*)
|
|
+*freebsd* | *dragonfly*)
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define OS_BSD 1
|
|
_ACEOF
|
|
@@ -31721,11 +31721,11 @@ echo "$as_me: error: \"*** ettercap cann
|
|
ac_ec_libnet=$withval
|
|
echo "$as_me:$LINENO: result: $withval" >&5
|
|
echo "${ECHO_T}$withval" >&6
|
|
- elif test -f $withval/include/libnet.h; then
|
|
+ elif test -f @@LN_INC@@/libnet.h; then
|
|
owd=`pwd`
|
|
if cd $withval; then withval=`pwd`; cd $owd; fi
|
|
- LNETINC="-I$withval/include"
|
|
- LNETLIB="-L$withval/lib -L$withval/src -lnet"
|
|
+ LNETINC="-I@@LN_INC@@"
|
|
+ LNETLIB="-L@@LN_LIB@@ -L$withval/src -lnet"
|
|
ac_ec_libnet=$withval
|
|
echo "$as_me:$LINENO: result: $withval" >&5
|
|
echo "${ECHO_T}$withval" >&6
|