head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.28 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.26 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.24 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.22 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.20 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.18 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.16 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.14 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.12 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.10 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.8 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.6 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.4 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.2 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.5.0.4 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.2 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.1.0.2 pkgsrc-2005Q2-base:1.1; locks; strict; comment @# @; 1.6 date 2007.02.18.18.32.58; author adrianp; state dead; branches; next 1.5; 1.5 date 2006.07.06.12.56.30; author markd; state Exp; branches; next 1.4; 1.4 date 2005.12.02.21.13.56; author joerg; state Exp; branches; next 1.3; 1.3 date 2005.08.26.16.54.21; author drochner; state Exp; branches; next 1.2; 1.2 date 2005.08.21.12.21.55; author grant; state Exp; branches; next 1.1; 1.1 date 2005.03.25.17.52.32; author adrianp; state Exp; branches; next ; desc @@ 1.6 log @Remove the libnet package. This will be reimported as libnet10 so that it can be installed side-by-side with the libnet11 package. @ text @$NetBSD: patch-ac,v 1.5 2006/07/06 12:56:30 markd Exp $ --- configure.orig 2001-01-18 09:59:33.000000000 +1300 +++ configure @@@@ -506,7 +506,7 @@@@ fi ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' +ac_cpp='${CC-cc} -E $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross @@@@ -778,7 +778,7 @@@@ echo "configure:778: checking whether th ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' +ac_cpp='${CC-cc} -E $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross @@@@ -806,7 +806,7 @@@@ fi rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' +ac_cpp='${CC-cc} -E $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross @@@@ -1284,7 +1284,7 @@@@ fi echo $ac_n "checking low-level packet interface type""... $ac_c" 1>&6 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 -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 @@@@ -1416,7 +1416,7 @@@@ fi fi -elif test -c /dev/bpf0 ; then # check again in case not readable +elif test -c /dev/bpf0 -o -c /dev/bpf ; then # check again in case not readable 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 @ 1.5 log @Add a missing instance of a fix for broken configure test for Solaris. really fixes PR pkg/25083. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2005/12/02 21:13:56 joerg Exp $ @ 1.4 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2005/08/26 16:54:21 drochner Exp $ d3 1 a3 1 --- configure.orig 2001-01-17 21:59:33.000000000 +0100 d23 9 @ 1.3 log @update to 1.0.2a changes: -many bugfixes -Added VRRP support @ text @d1 1 a1 1 $NetBSD$ d28 1 a28 1 +if test -r /dev/bpf0 -o -r /dev/bpf ; then d41 9 @ 1.2 log @fix a broken configure test for Solaris. fixes PR pkg/25083 from Petter Lindquist. @ text @d3 1 a3 1 --- configure.orig 1999-10-28 04:47:27.000000000 +1000 d5 1 a5 1 @@@@ -503,7 +503,7 @@@@ fi d12 1 a12 1 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' d14 1 a14 1 @@@@ -737,7 +737,7 @@@@ echo "configure:737: checking whether th d21 1 a21 1 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' d23 1 a23 1 @@@@ -1209,7 +1209,7 @@@@ fi d25 1 a25 1 echo "configure:1211: checking low-level packet interface type" >&5 d32 1 a32 1 @@@@ -1340,7 +1340,7 @@@@ fi @ 1.1 log @- Fix for systems where /dev/bpf is present but not /dev/bpf0 - Bumb to nb5 - Issue spotted and patch provided by Jukka Salmi in PR# 29678 Thanks for the PR and patch. @ text @d3 1 a3 1 --- configure.orig 2005-03-25 17:38:37.000000000 +0000 d5 18 @