aboutsummaryrefslogtreecommitdiff
path: root/net/bmon
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-03-23 08:30:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2011-03-23 08:30:08 +0000
commit1e22fa9b90b6f762f177def05d94a72fba92bea3 (patch)
tree5bc1f4a27346eb5056ada61eeb9d5af76198ebff /net/bmon
parent0165f9542ee0e2f9cdbc4da407e46c4c08a52735 (diff)
downloadports-1e22fa9b90b6f762f177def05d94a72fba92bea3.tar.gz
ports-1e22fa9b90b6f762f177def05d94a72fba92bea3.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)
Notes
Notes: svn path=/head/; revision=271517
Diffstat (limited to 'net/bmon')
-rw-r--r--net/bmon/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/bmon/Makefile b/net/bmon/Makefile
index 78dd1d401c6f..b36c5bbbc4cd 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: