summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-07 00:30:49 +0000
committermarino <marino@FreeBSD.org>2016-02-07 00:30:49 +0000
commit275fa9d6878dc2d4cfc34503f232e42b4958cb7a (patch)
treee8f27db95f4dea82d9b5579cb77a36f8c8ad36de
parenteb78d759aa653940f353e158b865f47c26bdd59f (diff)
downloadFreeBSD-ports-275fa9d6878dc2d4cfc34503f232e42b4958cb7a.zip
FreeBSD-ports-275fa9d6878dc2d4cfc34503f232e42b4958cb7a.tar.gz
benchmarks/sipp: document ncurses requirement (USES+=ncurses)
Also link with ncurses, curses approved by: infrastructure blanket
-rw-r--r--benchmarks/sipp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile
index 0610f76..8a32aa3 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|' \
OpenPOWER on IntegriCloud