aboutsummaryrefslogtreecommitdiffstats
path: root/net/rtg
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-20 01:26:28 +0800
committermiwi <miwi@FreeBSD.org>2009-09-20 01:26:28 +0800
commitcd03559e27242a061e9218ba7b83b841bb1a1055 (patch)
treecb57a9a3904146f598dd15290a4f68c01503efc1 /net/rtg
parent9f8ad827dff2582b0a4ee33cceb0729e15673ad7 (diff)
downloadfreebsd-ports-gnome-cd03559e27242a061e9218ba7b83b841bb1a1055.tar.gz
freebsd-ports-gnome-cd03559e27242a061e9218ba7b83b841bb1a1055.tar.zst
freebsd-ports-gnome-cd03559e27242a061e9218ba7b83b841bb1a1055.zip
- Fix custom LOCALBASE build
- USE_MYSQL macro unless there is a reason to depend specifically on mysql41 - Use SF MASTER_SITES abbreviation PR: 136678 Submitted by: Sahil Tandon <sahil@tandon.net> Feature safe: yes
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