1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Move SNMP support to optional dependecies.

PR:		ports/68890
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
Kirill Ponomarev 2004-07-10 11:32:57 +00:00
parent da3e4a3751
commit 46ba252498
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113328

View File

@ -14,12 +14,18 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= krion@FreeBSD.org
COMMENT= Network interface statistics monitoring tool
LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
GNU_CONFIGURE= yes
USE_OPENSSL= yes
MAN1= ifstat.1
PLIST_FILES= bin/ifstat
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if defined(WITH_SNMP)
LIB_DEPENDS+= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
.else
CONFIGURE_ARGS+= --without-snmp
.endif
.include <bsd.port.post.mk>