aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ganglia-monitor-core
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-03-15 05:03:41 +0800
committerbrooks <brooks@FreeBSD.org>2005-03-15 05:03:41 +0800
commit7ceb9b2ea2221fe8d651d7b6ebe6263396c5fbaf (patch)
treeda52cacdbd938d240e2564d1774c8c7c3fa0e6f8 /sysutils/ganglia-monitor-core
parent87b6b74f91a7b1884abc3a4bbb31064765a9dfb5 (diff)
downloadfreebsd-ports-gnome-7ceb9b2ea2221fe8d651d7b6ebe6263396c5fbaf.tar.gz
freebsd-ports-gnome-7ceb9b2ea2221fe8d651d7b6ebe6263396c5fbaf.tar.zst
freebsd-ports-gnome-7ceb9b2ea2221fe8d651d7b6ebe6263396c5fbaf.zip
Move the LIB_DEPENDS statement for rrdtool below bsd.port.pre.mk so
WITH_GMETAD is actually defined when needed. Reported by: pointyhat (via kris)
Diffstat (limited to 'sysutils/ganglia-monitor-core')
-rw-r--r--sysutils/ganglia-monitor-core/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysutils/ganglia-monitor-core/Makefile b/sysutils/ganglia-monitor-core/Makefile
index 294b7103417a..10f314171d09 100644
--- a/sysutils/ganglia-monitor-core/Makefile
+++ b/sysutils/ganglia-monitor-core/Makefile
@@ -17,10 +17,6 @@ DISTNAME= ganglia-${PORTVERSION}
MAINTAINER= brooks@FreeBSD.org
COMMENT= Ganglia cluster monitor, monitoring daemon
-.if defined (WITH_GMETAD)
-LIB_DEPENDS= rrd.0:${PORTSDIR}/net/rrdtool
-.endif
-
PKGINSTALL= ${WRKSRC}/pkg-install
OPTIONS+= GMETAD "include gmetad" on
@@ -39,6 +35,7 @@ SUB_FILES= pkg-install
.include <bsd.port.pre.mk>
.if defined (WITH_GMETAD)
+LIB_DEPENDS= rrd.0:${PORTSDIR}/net/rrdtool
CONFIGURE_ARGS+= --with-gmetad
.endif
INSTALLS_SHLIB= yes