pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libnet Add DragonFly support. Consider BPF to ex...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3477cc41de0
branches:  trunk
changeset: 503998:f3477cc41de0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 02 21:13:56 2005 +0000

description:
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:

 devel/libnet/distinfo         |   4 ++--
 devel/libnet/patches/patch-ac |  13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r d619777127e8 -r f3477cc41de0 devel/libnet/distinfo
--- a/devel/libnet/distinfo     Fri Dec 02 21:05:43 2005 +0000
+++ b/devel/libnet/distinfo     Fri Dec 02 21:13:56 2005 +0000
@@ -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 -r d619777127e8 -r f3477cc41de0 devel/libnet/patches/patch-ac
--- a/devel/libnet/patches/patch-ac     Fri Dec 02 21:05:43 2005 +0000
+++ b/devel/libnet/patches/patch-ac     Fri Dec 02 21:13:56 2005 +0000
@@ -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 @@
  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 @@
      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



Home | Main Index | Thread Index | Old Index