summaryrefslogtreecommitdiff
path: root/net/ettercap/patches/patch-ag
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-24 20:39:42 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-24 20:39:42 +0000
commit30e0f6de31600dbd1ba00a6a2dcac71674b28dae (patch)
treee87232a072780ba52686794da74ed736dd3c1f5a /net/ettercap/patches/patch-ag
parented10e03e8bf61fe01cd59795b31076fedf4700e0 (diff)
downloadpkgsrc-30e0f6de31600dbd1ba00a6a2dcac71674b28dae.tar.gz
Add DragonFly support.
Diffstat (limited to 'net/ettercap/patches/patch-ag')
-rw-r--r--net/ettercap/patches/patch-ag36
1 files changed, 36 insertions, 0 deletions
diff --git a/net/ettercap/patches/patch-ag b/net/ettercap/patches/patch-ag
new file mode 100644
index 00000000000..755277feab4
--- /dev/null
+++ b/net/ettercap/patches/patch-ag
@@ -0,0 +1,36 @@
+$NetBSD: patch-ag,v 1.1 2006/02/24 20:39:42 joerg Exp $
+
+--- configure.orig 2006-02-24 20:34:34.000000000 +0000
++++ configure
+@@ -1497,6 +1497,13 @@ echo "$as_me: WARNING: *****************
+ OS=FREEBSD
+ OS_OPT=
+ ;;
++
++*dragonfly*)
++ LL_SOURCE=./src/OS/BSD/ec_inet_BSD.c
++ SED_LL_OBJ_DEPEND="s/ec_inet_BSD.o/OS\/BSD\/ec_inet_BSD.o/g"
++ OS=DRAGONFLY
++ OS_OPT=
++ ;;
+ *netbsd*)
+ LL_SOURCE=./src/OS/BSD/ec_inet_BSD.c
+ SED_LL_OBJ_DEPEND="s/ec_inet_BSD.o/OS\/BSD\/ec_inet_BSD.o/g"
+@@ -3302,7 +3309,7 @@ fi
+
+
+
+-if test "$OS" = "FREEBSD" -o "$OS" = "OPENBSD" -o "$OS" = "NETBSD" -o "$OS" = "MACOSX"; then
++if test "$OS" = "FREEBSD" -o "$OS" = "OPENBSD" -o "$OS" = "NETBSD" -o "$OS" = "MACOSX" -o "$OS" = "DRAGONFLY"; then
+
+ echo "$as_me:$LINENO: checking link-layer packet interface" >&5
+ echo $ECHO_N "checking link-layer packet interface... $ECHO_C" >&6
+@@ -10251,7 +10258,7 @@ else
+ echo "$as_me:$LINENO: result: NOT available on this OS" >&5
+ echo "${ECHO_T}NOT available on this OS" >&6
+ ac_cv_ec_https=no
+- elif test "$OS" = "OPENBSD" -o "$OS" = "FREEBSD" -o "$OS" = "NETBSD"; then
++ elif test "$OS" = "OPENBSD" -o "$OS" = "FREEBSD" -o "$OS" = "NETBSD" -o "$OS" = "DRAGONFLY"; then
+ echo "$as_me:$LINENO: result: no." >&5
+ echo "${ECHO_T}no." >&6
+ ac_cv_ec_https=no