diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-02 21:13:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-02 21:13:56 +0000 |
commit | c5e6cb61cd1464cc2e0d8e4e4dac1a7c2e62541c (patch) | |
tree | 9103c7a02737e4595c7c9dcb85a6580e4d5662df /devel | |
parent | dcc56f601edaf540085f401a48a2ab469d1e2ffa (diff) | |
download | pkgsrc-c5e6cb61cd1464cc2e0d8e4e4dac1a7c2e62541c.tar.gz |
Add DragonFly support. Consider BPF to exist if /usr/include/net/bpf.h
exists. This fixes the build inside a jail on FreeBSD and DragonFly.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libnet/distinfo | 4 | ||||
-rw-r--r-- | devel/libnet/patches/patch-ac | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/devel/libnet/distinfo b/devel/libnet/distinfo index a68d334fb97..41f4ee7a830 100644 --- a/devel/libnet/distinfo +++ b/devel/libnet/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.7 2005/08/26 16:54:21 drochner Exp $ +$NetBSD: distinfo,v 1.8 2005/12/02 21:13:56 joerg Exp $ SHA1 (libnet-1.0.2a.tar.gz) = 804eaf43bb90f93e505d46a9668c914a112bf136 RMD160 (libnet-1.0.2a.tar.gz) = 43dd2edc31e56b42792727b88d81342dc26d3308 Size (libnet-1.0.2a.tar.gz) = 140191 bytes SHA1 (patch-aa) = 5dc17a1cac05cf0ea80e421b4e1f092cfc172550 SHA1 (patch-ab) = 56a2cb8b214529fdaacdbc6154ec2fc88edfa1c8 -SHA1 (patch-ac) = 62195d77894bda78f9f4c1084e0d36a26c2efdf1 +SHA1 (patch-ac) = 7e64b5574869ff82ce0d89e04f96f8f7da2bb9b8 diff --git a/devel/libnet/patches/patch-ac b/devel/libnet/patches/patch-ac index eb04524369e..9f626174ca7 100644 --- a/devel/libnet/patches/patch-ac +++ b/devel/libnet/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.3 2005/08/26 16:54:21 drochner Exp $ +$NetBSD: patch-ac,v 1.4 2005/12/02 21:13:56 joerg Exp $ --- configure.orig 2001-01-17 21:59:33.000000000 +0100 +++ configure @@ -25,7 +25,7 @@ $NetBSD: patch-ac,v 1.3 2005/08/26 16:54:21 drochner Exp $ echo "configure:1286: checking low-level packet interface type" >&5 -if test -r /dev/bpf0 ; then -+if test -r /dev/bpf0 -o -r /dev/bpf ; then ++if test -r /dev/bpf0 -o -r /dev/bpf -o -r /usr/include/net/bpf.h ; then LL_INT_TYPE=bpf echo "$ac_t""found bpf" 1>&6 elif test -r /usr/include/net/pfilt.h ; then @@ -38,3 +38,12 @@ $NetBSD: patch-ac,v 1.3 2005/08/26 16:54:21 drochner Exp $ LL_INT_TYPE=bpf echo "$ac_t""found bpf" 1>&6 elif test -c /dev/enet ; then # check again in case not readable +@@ -1577,7 +1577,7 @@ done + BIN_PREFIX="$prefix/bin/" + ;; + +-*freebsd*) ++*freebsd* | *dragonfly*) + cat >> confdefs.h <<\EOF + #define LIBNET_BSDISH_OS 1 + EOF |