mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- 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
This commit is contained in:
parent
4ea242093b
commit
fce5f52e27
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241750
1 changed files with 5 additions and 3 deletions
|
@ -14,13 +14,15 @@ MASTER_SITES= SF
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A flexible, high-performance SNMP statistics monitoring system
|
COMMENT= A flexible, high-performance SNMP statistics monitoring system
|
||||||
|
|
||||||
LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql41-client \
|
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
|
||||||
netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
|
|
||||||
|
|
||||||
MAN1= rtgplot.1 rtgpoll.1
|
MAN1= rtgplot.1 rtgpoll.1
|
||||||
|
|
||||||
|
USE_MYSQL= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/rtg
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/${PORTNAME} \
|
||||||
|
--with-mysql=${LOCALBASE} \
|
||||||
|
--with-snmp=${LOCALBASE}
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
|
||||||
|
|
Loading…
Add table
Reference in a new issue