aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/sipp
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-07 08:30:49 +0800
committermarino <marino@FreeBSD.org>2016-02-07 08:30:49 +0800
commit275fa9d6878dc2d4cfc34503f232e42b4958cb7a (patch)
treee8f27db95f4dea82d9b5579cb77a36f8c8ad36de /benchmarks/sipp
parenteb78d759aa653940f353e158b865f47c26bdd59f (diff)
downloadfreebsd-ports-gnome-275fa9d6878dc2d4cfc34503f232e42b4958cb7a.tar.gz
freebsd-ports-gnome-275fa9d6878dc2d4cfc34503f232e42b4958cb7a.tar.zst
freebsd-ports-gnome-275fa9d6878dc2d4cfc34503f232e42b4958cb7a.zip
benchmarks/sipp: document ncurses requirement (USES+=ncurses)
Also link with ncurses, curses approved by: infrastructure blanket
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|' \