svn commit: r431396 - head/benchmarks/sipp

John Marino marino at FreeBSD.org
Fri Jan 13 14:52:41 UTC 2017


Author: marino
Date: Fri Jan 13 14:52:40 2017
New Revision: 431396
URL: https://svnweb.freebsd.org/changeset/ports/431396

Log:
  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

Modified:
  head/benchmarks/sipp/Makefile

Modified: head/benchmarks/sipp/Makefile
==============================================================================
--- head/benchmarks/sipp/Makefile	Fri Jan 13 14:46:30 2017	(r431395)
+++ head/benchmarks/sipp/Makefile	Fri Jan 13 14:52:40 2017	(r431396)
@@ -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_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


More information about the svn-ports-all mailing list