| @@ -1,26 +1,35 @@ | | | @@ -1,26 +1,35 @@ |
1 | $NetBSD: patch-ae,v 1.3 2009/12/23 07:03:17 obache Exp $ | | 1 | $NetBSD: patch-ae,v 1.4 2011/12/22 22:11:41 marino Exp $ |
2 | | | 2 | |
3 | --- configure.orig 2005-05-27 16:11:45.000000000 +0100 | | 3 | --- configure.orig 2005-05-27 15:11:45.000000000 +0000 |
4 | +++ configure | | 4 | +++ configure |
5 | @@ -2169,7 +2169,7 @@ fi | | 5 | @@ -2169,7 +2169,7 @@ fi |
6 | | | 6 | |
7 | OS="LINUX" | | 7 | OS="LINUX" |
8 | ;; | | 8 | ;; |
9 | -*freebsd*) | | 9 | -*freebsd*) |
10 | +*freebsd* | *dragonfly*) | | 10 | +*freebsd* | *dragonfly*) |
11 | cat >>confdefs.h <<\_ACEOF | | 11 | cat >>confdefs.h <<\_ACEOF |
12 | #define OS_BSD 1 | | 12 | #define OS_BSD 1 |
13 | _ACEOF | | 13 | _ACEOF |
| | | 14 | @@ -8346,7 +8346,7 @@ echo "${ECHO_T}no" >&6 |
| | | 15 | exit 1 |
| | | 16 | fi |
| | | 17 | gentoo_lt_version="1.5.18" |
| | | 18 | -gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` |
| | | 19 | +gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` |
| | | 20 | if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then |
| | | 21 | echo "$as_me:$LINENO: result: no" >&5 |
| | | 22 | echo "${ECHO_T}no" >&6 |
14 | @@ -31721,11 +31721,11 @@ echo "$as_me: error: \"*** ettercap cann | | 23 | @@ -31721,11 +31721,11 @@ echo "$as_me: error: \"*** ettercap cann |
15 | ac_ec_libnet=$withval | | 24 | ac_ec_libnet=$withval |
16 | echo "$as_me:$LINENO: result: $withval" >&5 | | 25 | echo "$as_me:$LINENO: result: $withval" >&5 |
17 | echo "${ECHO_T}$withval" >&6 | | 26 | echo "${ECHO_T}$withval" >&6 |
18 | - elif test -f $withval/include/libnet.h; then | | 27 | - elif test -f $withval/include/libnet.h; then |
19 | + elif test -f @@LN_INC@@/libnet.h; then | | 28 | + elif test -f @@LN_INC@@/libnet.h; then |
20 | owd=`pwd` | | 29 | owd=`pwd` |
21 | if cd $withval; then withval=`pwd`; cd $owd; fi | | 30 | if cd $withval; then withval=`pwd`; cd $owd; fi |
22 | - LNETINC="-I$withval/include" | | 31 | - LNETINC="-I$withval/include" |
23 | - LNETLIB="-L$withval/lib -L$withval/src -lnet" | | 32 | - LNETLIB="-L$withval/lib -L$withval/src -lnet" |
24 | + LNETINC="-I@@LN_INC@@" | | 33 | + LNETINC="-I@@LN_INC@@" |
25 | + LNETLIB="-L@@LN_LIB@@ -L$withval/src -lnet" | | 34 | + LNETLIB="-L@@LN_LIB@@ -L$withval/src -lnet" |
26 | ac_ec_libnet=$withval | | 35 | ac_ec_libnet=$withval |