diff options
author | krion <krion@FreeBSD.org> | 2004-07-10 19:32:57 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-10 19:32:57 +0800 |
commit | 6c6d314310ab1206a5973cf6c0ddac395af18bd3 (patch) | |
tree | b9d329b2eca449128516da55dc2f3435dd3ea171 /net | |
parent | b89defc6fbc816df260879e9979d865a2c76a587 (diff) | |
download | freebsd-ports-graphics-6c6d314310ab1206a5973cf6c0ddac395af18bd3.tar.gz freebsd-ports-graphics-6c6d314310ab1206a5973cf6c0ddac395af18bd3.tar.zst freebsd-ports-graphics-6c6d314310ab1206a5973cf6c0ddac395af18bd3.zip |
Move SNMP support to optional dependecies.
PR: ports/68890
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/ifstat/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/net/ifstat/Makefile b/net/ifstat/Makefile index 4e23607eed5..9ec56d516e8 100644 --- a/net/ifstat/Makefile +++ b/net/ifstat/Makefile @@ -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> |