aboutsummaryrefslogtreecommitdiffstats
path: root/net/libdnet
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2008-07-04 08:44:12 +0800
committeraraujo <araujo@FreeBSD.org>2008-07-04 08:44:12 +0800
commit8225488fa833bdded2cb85495008cfe6fd9acf6b (patch)
treeaa83ec33e05f62735034a26dc0bb4c11891cb388 /net/libdnet
parentced5bc686908fad73c29066d0f5b6711bf9b0194 (diff)
downloadfreebsd-ports-gnome-8225488fa833bdded2cb85495008cfe6fd9acf6b.tar.gz
freebsd-ports-gnome-8225488fa833bdded2cb85495008cfe6fd9acf6b.tar.zst
freebsd-ports-gnome-8225488fa833bdded2cb85495008cfe6fd9acf6b.zip
- 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)
Diffstat (limited to 'net/libdnet')
-rw-r--r--net/libdnet/Makefile15
-rw-r--r--net/libdnet/files/patch-configure14
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