From fce5f52e270a40e44c5fde35d0860c73f59e0219 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 19 Sep 2009 17:26:28 +0000 Subject: - 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 Feature safe: yes --- net/rtg/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'net/rtg') 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 -- cgit v1.2.3