Date: Thu, 26 Jun 2008 02:20:02 -0400 (EDT) From: "Philip M. Gollucci" <pgollucci@p6m7g8.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: onatan@gmail.com Subject: ports/125001: [PATCH] net/libdnet: Unbreak jail builds Message-ID: <200806260620.m5Q6K2De001859@piccollo.p6m7g8.net> Resent-Message-ID: <200806260630.m5Q6U2Yt082076@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125001 >Category: ports >Synopsis: [PATCH] net/libdnet: Unbreak jail builds >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 26 06:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Philip M. Gollucci >Release: FreeBSD 8.0-CURRENT i386 >Organization: Riderway Inc. >Environment: System: FreeBSD piccollo.p6m7g8.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Jun 11 23:05:41 EDT 2008 >Description: - Unbreak jail builds (bpf0 has been here since 3.x) [shamelessly stolen from net/libnet] - use SF macro Added file(s): - files/patch-configure.diff Port maintainer (onatan@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- libdnet-1.11_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/libdnet/Makefile,v retrieving revision 1.29 diff -u -u -r1.29 Makefile --- Makefile 23 Sep 2007 06:10:36 -0000 1.29 +++ Makefile 26 Jun 2008 06:18:24 -0000 @@ -7,10 +7,9 @@ PORTNAME= libdnet PORTVERSION= 1.11 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= SF MAINTAINER?= onatan@gmail.com COMMENT?= A simple interface to low level networking routines @@ -27,10 +26,6 @@ MAN8= dnet.8 .endif -.if !exists(/dev/bpf0) -BROKEN= Does not build properly without /dev/bpf0 -.endif - .include <bsd.port.pre.mk> .if !defined(LIBDNET_SLAVE) Index: files/patch-configure.diff =================================================================== RCS file: files/patch-configure.diff diff -N files/patch-configure.diff --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure.diff 26 Jun 2008 06:14:33 -0000 @@ -0,0 +1,14 @@ +--- configure.orig 2008-06-26 05:04:55.000000000 +0000 ++++ configure 2008-06-26 05:05:13.000000000 +0000 +@@ -21924,11 +21924,7 @@ + if test "${ac_cv_dnet_bsd_bpf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- if test -c /dev/bpf0 ; then + ac_cv_dnet_bsd_bpf=yes +- else +- ac_cv_dnet_bsd_bpf=no +- fi + fi + + echo "$as_me:$LINENO: result: $ac_cv_dnet_bsd_bpf" >&5 --- libdnet-1.11_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806260620.m5Q6K2De001859>