aboutsummaryrefslogtreecommitdiff
path: root/net/rtg
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-19 17:26:28 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-19 17:26:28 +0000
commitfce5f52e270a40e44c5fde35d0860c73f59e0219 (patch)
tree2ac57aacc1338e5d510baaa4f8b87125480a7bb9 /net/rtg
parent4ea242093b64cb5e0ccf3a4ecae183b1266d2de7 (diff)
downloadports-fce5f52e270a40e44c5fde35d0860c73f59e0219.tar.gz
ports-fce5f52e270a40e44c5fde35d0860c73f59e0219.zip
Notes
Diffstat (limited to 'net/rtg')
-rw-r--r--net/rtg/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/rtg/Makefile b/net/rtg/Makefile
index f45e8045546d..a166400b7bb4 100644
--- a/net/rtg/Makefile
+++ b/net/rtg/Makefile
@@ -14,13 +14,15 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A flexible, high-performance SNMP statistics monitoring system
-LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql41-client \
- netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
MAN1= rtgplot.1 rtgpoll.1
+USE_MYSQL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/rtg
+CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/${PORTNAME} \
+ --with-mysql=${LOCALBASE} \
+ --with-snmp=${LOCALBASE}
pre-configure:
@${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure