aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-07-22 21:44:28 +0800
committerwxs <wxs@FreeBSD.org>2010-07-22 21:44:28 +0800
commit22415194f25ca8c505a4a1a6781ec576e9ae86a0 (patch)
tree4ec1f5a036b94af59ca6ab84cc3c165b508c217f /net-mgmt
parente3141a6dc4dcd1f6944c983e33f3ed3c3a608d8e (diff)
downloadfreebsd-ports-gnome-22415194f25ca8c505a4a1a6781ec576e9ae86a0.tar.gz
freebsd-ports-gnome-22415194f25ca8c505a4a1a6781ec576e9ae86a0.tar.zst
freebsd-ports-gnome-22415194f25ca8c505a4a1a6781ec576e9ae86a0.zip
Fix this port when using Endace DAG card.
PR: ports/14880 Submitted by: Ryan Steinmetz <rpsfa@rit.edu> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/jnettop/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-mgmt/jnettop/Makefile b/net-mgmt/jnettop/Makefile
index 1f4c78c608a1..e67ef1810d2b 100644
--- a/net-mgmt/jnettop/Makefile
+++ b/net-mgmt/jnettop/Makefile
@@ -18,7 +18,13 @@ MAN8= jnettop.8
GNU_CONFIGURE= yes
USE_GNOME= glib20
+USE_GMAKE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
+.if defined(WITH_DAG)
+post-configure:
+ ${ECHO_CMD} "#define BSD 1" >> ${WRKSRC}/config.h
+.endif
+
.include <bsd.port.mk>