aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mbrowse
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/mbrowse')
-rw-r--r--net-mgmt/mbrowse/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/net-mgmt/mbrowse/Makefile b/net-mgmt/mbrowse/Makefile
index 7f2c1b507ae0..cb1863b1ef09 100644
--- a/net-mgmt/mbrowse/Makefile
+++ b/net-mgmt/mbrowse/Makefile
@@ -14,23 +14,13 @@ MASTER_SITES= http://www.kill-9.org/mbrowse/
MAINTAINER= ports@FreeBSD.org
COMMENT= An SNMP MIB Browser for X
-.if defined(WITH_NET_SNMP4)
-LIB_DEPENDS= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
-.else
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
-.endif
GNU_CONFIGURE= yes
PLIST_FILES= bin/mbrowse
USE_GNOME= gtk12 gnometarget
-CONFIGURE_ARGS+= --with-snmp-prefix=${PREFIX}
-
-.if defined(WITH_NET_SNMP4)
-CONFIGURE_ARGS+= --with-snmp-type=ucd
-.else
-CONFIGURE_ENV+= LDFLAGS="`net-snmp-config --libs`" \
- CPPFLAGS="`net-snmp-config --cflags`"
-CONFIGURE_ARGS+= --with-snmp-type=net
-.endif
+CONFIGURE_ARGS= --with-snmp-prefix=${PREFIX} --with-snmp-type=net
+CONFIGURE_ENV= LDFLAGS="`net-snmp-config --libs`" \
+ CPPFLAGS="`net-snmp-config --cflags`"
.include <bsd.port.mk>