svn commit: r408339 - head/benchmarks/sipp

John Marino marino at FreeBSD.org
Sun Feb 7 00:30:50 UTC 2016


Author: marino
Date: Sun Feb  7 00:30:49 2016
New Revision: 408339
URL: https://svnweb.freebsd.org/changeset/ports/408339

Log:
  benchmarks/sipp: document ncurses requirement (USES+=ncurses)
  
  Also link with ncurses, curses
  
  approved by:	infrastructure blanket

Modified:
  head/benchmarks/sipp/Makefile

Modified: head/benchmarks/sipp/Makefile
==============================================================================
--- head/benchmarks/sipp/Makefile	Sun Feb  7 00:16:57 2016	(r408338)
+++ head/benchmarks/sipp/Makefile	Sun Feb  7 00:30:49 2016	(r408339)
@@ -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_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|' \


More information about the svn-ports-all mailing list