Any comments on this?

On Tue, Feb 20, 2007 at 03:05:43PM +0000, Mikolaj Kucharski wrote:
> I'm using chroot environment for ports compilation, and this fix
> compilation when I have only a stub in /dev
> 
> Index: patches/patch-configure.in
> ===================================================================
> RCS file: /cvs/ports/net/libnet/1.0/patches/patch-configure.in,v
> retrieving revision 1.1
> diff -u -r1.1 patch-configure.in
> --- patches/patch-configure.in        2005/05/23 23:50:40     1.1
> +++ patches/patch-configure.in        2007/02/20 15:03:10
> @@ -1,5 +1,5 @@
> ---- configure.in.orig        Wed Jan 17 15:59:30 2001
> -+++ configure.in     Wed Sep 22 16:09:21 2004
> +--- configure.in.orig        Wed Jan 17 20:59:30 2001
> ++++ configure.in     Tue Feb 20 15:01:11 2007
>  @@ -33,6 +33,9 @@ AC_PREFIX_DEFAULT(/usr)
>   
>   if test "$prefix" = "NONE"; then
> @@ -27,3 +27,12 @@
>   
>   dnl
>   dnl Check for package inclusion/exclusion
> +@@ -89,7 +92,7 @@ dnl Get lowlevel packet writing interfac
> + dnl
> + AC_MSG_CHECKING(low-level packet interface type)
> + 
> +-if test -r /dev/bpf0 ; then
> ++if test -r /dev/bpf0 -o -r /usr/include/net/bpf.h ; then
> +     LL_INT_TYPE=bpf
> +     AC_MSG_RESULT(found bpf)
> + elif test -r /usr/include/net/pfilt.h ; then


-- 
best regards
q#

Reply via email to