convert SNMP flavor to use net-snmp

This commit is contained in:
danh 2004-10-13 03:31:32 +00:00
parent 72a9f4cdf2
commit fec58a47d4

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2004/05/15 15:19:20 sturm Exp $
# $OpenBSD: Makefile,v 1.4 2004/10/13 03:31:32 danh Exp $
COMMENT= "tool to monitor interface bandwidth usage"
@ -25,9 +25,8 @@ FLAVORS= snmp
FLAVOR?=
.if ${FLAVOR:L} == "snmp"
LIB_DEPENDS= snmp::net/ucd-snmp
LIB_DEPENDS= netsnmp.6.2::net/net-snmp
CONFIGURE_ARGS+= --with-snmp=${LOCALBASE}
CONFIGURE_ENV+= LIBS="-ldes"
.else
CONFIGURE_ARGS+= --without-snmp
.endif