diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-10 11:32:57 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-10 11:32:57 +0000 |
commit | 46ba2524983b12a7223d8564ce24e60f3400ed9b (patch) | |
tree | 66bb94ad19a39873b5b3f1dcd71dddd6d5a39012 /net/ifstat/Makefile | |
parent | da3e4a3751e86a0c158ef1f5d7ffb1d95c159511 (diff) | |
download | ports-46ba2524983b12a7223d8564ce24e60f3400ed9b.tar.gz ports-46ba2524983b12a7223d8564ce24e60f3400ed9b.zip |
Notes
Diffstat (limited to 'net/ifstat/Makefile')
-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 4e23607eed5e..9ec56d516e8a 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> |