summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2005-03-14 21:03:41 +0000
committerBrooks Davis <brooks@FreeBSD.org>2005-03-14 21:03:41 +0000
commit4b779929853c42449bcd1edada5e88bf3459364f (patch)
treef9a606dc20d6c36113e379c40db2419f7f565e89
parent- Update to 0.39.0 (diff)
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)
Notes
Notes: svn path=/head/; revision=131252
-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