diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2008-07-04 00:44:12 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2008-07-04 00:44:12 +0000 |
commit | 88bb05e2624c9a037de22160a36dd09ad1a8a86c (patch) | |
tree | 6280e2ae7fe5acf30e794871e26bb623bafc3ba6 /net/libdnet | |
parent | 13ae3020752d12afe6259fc00d5dadfcb243d247 (diff) |
- Unbreak jail builds (bpf0 has been here since 3.x).
- Use SF macro.
PR: ports/125001
Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Approved by: "Jonatan B" <onatan@gmail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=216276
Diffstat (limited to 'net/libdnet')
-rw-r--r-- | net/libdnet/Makefile | 15 | ||||
-rw-r--r-- | net/libdnet/files/patch-configure | 14 |
2 files changed, 19 insertions, 10 deletions
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile index d483c3031b57..bf7a226fbfd4 100644 --- a/net/libdnet/Makefile +++ b/net/libdnet/Makefile @@ -7,30 +7,25 @@ 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 +COMMENT= A simple interface to low level networking routines GNU_CONFIGURE= yes -CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_GMAKE= yes .if !defined(LIBDNET_SLAVE) -CONFIGURE_ARGS+=--without-python +CONFIGURE_ARGS+= --without-python USE_LDCONFIG= yes MAN3= dnet.3 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) diff --git a/net/libdnet/files/patch-configure b/net/libdnet/files/patch-configure new file mode 100644 index 000000000000..3e94c4e5dad9 --- /dev/null +++ b/net/libdnet/files/patch-configure @@ -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 |