summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2017-01-13 14:52:40 +0000
committermarino <marino@FreeBSD.org>2017-01-13 14:52:40 +0000
commit20e557145c3c6aa10244a998706e28b6c103095c (patch)
tree704cfa48e5f3a6a025dd9f74bcaec9146eba9472
parent2073cf0c836f69bbe0bed9f4f5a110bfb893d9d2 (diff)
downloadFreeBSD-ports-20e557145c3c6aa10244a998706e28b6c103095c.zip
FreeBSD-ports-20e557145c3c6aa10244a998706e28b6c103095c.tar.gz
benchmarks/sipp: Fix stage-QA and restore curses support
1. curses support: Adding autoreconf negated the changes to configure script, so change configure.ac instead 2. The man page wasn't being installed (plist QA fail) so fix 3. While here, change USE_OPENSSL to USES=ssl Approved by: ncurses and just-fix-it blankets
-rw-r--r--benchmarks/sipp/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile
index ee0fb1b..d0e3f1f 100644
--- a/benchmarks/sipp/Makefile
+++ b/benchmarks/sipp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sipp
PORTVERSION= 3.5.1
+PORTREVISION= 1
CATEGORIES= benchmarks net
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/
@@ -29,7 +30,7 @@ SCTP_CONFIGURE_WITH= sctp
RTPSTREAM_CONFIGURE_WITH= rtpstream
OPENSSL_CONFIGURE_WITH= openssl
-OPENSSL_USE= openssl=yes
+OPENSSL_USES= ssl
GSL_LIB_DEPENDS= libgsl.so:math/gsl
PCAP_FILES= dtmf_2833_0.pcap dtmf_2833_1.pcap dtmf_2833_2.pcap \
@@ -41,7 +42,7 @@ PCAP_FILES= dtmf_2833_0.pcap dtmf_2833_1.pcap dtmf_2833_2.pcap \
PCAP_PLIST_FILES= ${PCAP_FILES:S|^|${DATADIR}/pcap/|}
post-patch:
- ${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|[[:<:]]curses|ncurses|' ${WRKSRC}/configure.ac
post-patch-PCAP-on:
@${REINPLACE_CMD} \
@@ -50,7 +51,7 @@ post-patch-PCAP-on:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/sipp.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/include/sipp.1 ${STAGEDIR}${PREFIX}/man/man1
do-install-PCAP-on:
${MKDIR} ${STAGEDIR}${DATADIR}/pcap
OpenPOWER on IntegriCloud