summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-28 22:27:06 +0000
committerarved <arved@FreeBSD.org>2004-02-28 22:27:06 +0000
commit7d0a476e371c4967e7cd5777fbea0a88542d1a7f (patch)
treef3ba7396fd2b3dc2683a4c98cd3aac3ab32370a2
parent957792c99c00389f66d95823832fc3f943bf93f6 (diff)
downloadFreeBSD-ports-7d0a476e371c4967e7cd5777fbea0a88542d1a7f.zip
FreeBSD-ports-7d0a476e371c4967e7cd5777fbea0a88542d1a7f.tar.gz
USE_MYSQL
Unbreak on CURRENT.
-rw-r--r--net-mgmt/netqc/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net-mgmt/netqc/Makefile b/net-mgmt/netqc/Makefile
index d0b3cc9..3067c22 100644
--- a/net-mgmt/netqc/Makefile
+++ b/net-mgmt/netqc/Makefile
@@ -14,19 +14,21 @@ MASTER_SITES= http://web.uni-svishtov.bg/netqc/
MAINTAINER= rvasilev@uni-svishtov.bg
COMMENT= Network Monitoring System based on Net-Snmp
-LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client \
- snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
+LIB_DEPENDS= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_MYSQL= yes
+DEFAULT_MYSQL_VER= 323
+WANT_MYSQL_VER= 323
+USE_REINPLACE= yes
MAN1= netqc.1
DOCFILES= COPYING README
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile due to varargs.h being deprecated"
-.endif
+post-patch:
+ ${REINPLACE_CMD} -e "s,varargs.h,stdarg.h," ${WRKSRC}/poll.c
post-install:
${INSTALL_DATA} ${WRKSRC}/conf ${PREFIX}/etc/netqc.conf.sample
OpenPOWER on IntegriCloud