aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2011-03-23 16:30:08 +0800
committerpav <pav@FreeBSD.org>2011-03-23 16:30:08 +0800
commitdf8c2f89652ae17cf65df8a9c8c164d7ad4d717b (patch)
tree03d766c25b9640fcd02199562d99ae2c0fdea562 /net
parent4bc9ccac93664782615a1a3ca48949312bd970b0 (diff)
downloadfreebsd-ports-graphics-df8c2f89652ae17cf65df8a9c8c164d7ad4d717b.tar.gz
freebsd-ports-graphics-df8c2f89652ae17cf65df8a9c8c164d7ad4d717b.tar.zst
freebsd-ports-graphics-df8c2f89652ae17cf65df8a9c8c164d7ad4d717b.zip
- Disable rrd/dbi when the respective option is toggled off
PR: ports/155450 Submitted by: Spil <spil.oss@gmail.com> Approved by: Jon Nistor <nistor@snickers.org> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/bmon/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/bmon/Makefile b/net/bmon/Makefile
index 78dd1d401c6..b36c5bbbc4c 100644
--- a/net/bmon/Makefile
+++ b/net/bmon/Makefile
@@ -29,10 +29,14 @@ PLIST_FILES= sbin/bmon
.if defined(WITH_RRDTOOL)
BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
+.else
+CONFIGURE_ARGS+=--disable-rrd
.endif
.if defined(WITH_DBI)
LIB_DEPENDS= dbi.1:${PORTSDIR}/databases/libdbi
+.else
+CONFIGURE_ARGS+=--disable-dbi
.endif
do-install: