diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2009-09-19 17:26:28 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2009-09-19 17:26:28 +0000 |
| commit | fce5f52e270a40e44c5fde35d0860c73f59e0219 (patch) | |
| tree | 2ac57aacc1338e5d510baaa4f8b87125480a7bb9 /net/rtg | |
| parent | - Update MASTER_SITES and Unbreak (diff) | |
- 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
Notes
Notes:
svn path=/head/; revision=241750
Diffstat (limited to 'net/rtg')
| -rw-r--r-- | net/rtg/Makefile | 8 |
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 |
