aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mbrowse/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-12-08 08:59:28 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-12-08 08:59:28 +0000
commit680174eb06d972473daf929f9db647c92c999039 (patch)
treedb86d2f0388c19612850dc15842cb25dcb12db3b /net-mgmt/mbrowse/Makefile
parent2395e2f49c8480cc991c6e6d6f6315c291be51ef (diff)
downloadports-680174eb06d972473daf929f9db647c92c999039.tar.gz
ports-680174eb06d972473daf929f9db647c92c999039.zip
Notes
Diffstat (limited to 'net-mgmt/mbrowse/Makefile')
-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>