summaryrefslogtreecommitdiff
path: root/benchmarks/sipp
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-07 00:30:49 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-07 00:30:49 +0000
commit8a4076d3af0b7c5df2af12626b83d92db285e441 (patch)
treee8f27db95f4dea82d9b5579cb77a36f8c8ad36de /benchmarks/sipp
parentdatabases/py-carbon: update to 0.9.15 (diff)
benchmarks/sipp: document ncurses requirement (USES+=ncurses)
Also link with ncurses, curses approved by: infrastructure blanket
Notes
Notes: svn path=/head/; revision=408339
Diffstat (limited to 'benchmarks/sipp')
-rw-r--r--benchmarks/sipp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile
index 0610f761886a..8a32aa308a91 100644
--- a/benchmarks/sipp/Makefile
+++ b/benchmarks/sipp/Makefile
@@ -16,7 +16,7 @@ GH_ACCOUNT= SIPp
PLIST_FILES= bin/sipp man/man1/sipp.1.gz
-USES= gmake
+USES= gmake ncurses
GNU_CONFIGURE= yes
OPTIONS_DEFINE= OPENSSL GSL PCAP RTPSTREAM SCTP
@@ -43,6 +43,9 @@ 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
+
post-patch-PCAP-on:
@${REINPLACE_CMD} \
's|\(\\"\)\(pcap/[^"]*\.pcap\\"\)|\1${DATADIR}/\2|' \