diff --git a/benchmarks/iperf3/Makefile b/benchmarks/iperf3/Makefile index 03d9f3dc732f..4f49a10628e5 100644 --- a/benchmarks/iperf3/Makefile +++ b/benchmarks/iperf3/Makefile @@ -1,36 +1,40 @@ # Created by: Bruce A. Mah PORTNAME= iperf -PORTVERSION= 3.10.1 +DISTVERSION= 3.10.1 +PORTREVISION= 1 CATEGORIES= benchmarks MASTER_SITES= https://downloads.es.net/pub/iperf/ PKGNAMESUFFIX= 3 MAINTAINER= bmah@FreeBSD.org COMMENT= Improved tool to measure TCP and UDP bandwidth LICENSE= BSD3CLAUSE MIT LICENSE_COMB= multi -GNU_CONFIGURE= yes USES= libtool ssl +GNU_CONFIGURE= yes USE_LDCONFIG= yes PORTDOCS= README.md RELNOTES.md # Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS STATIC +OPTIONS_SUB= yes + +STATIC_CONFIGURE_ENABLE= static post-patch: # Don't build stuff that we're not going to install. Among other # things this means we're not going to try to build profiled objects # and/or executables. @${REINPLACE_CMD} -e '/^PROGRAMS /s/\$$(noinst_PROGRAMS)//' ${WRKSRC}/src/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/benchmarks/iperf3/pkg-plist b/benchmarks/iperf3/pkg-plist index ad244993e85c..96004fb1efb1 100644 --- a/benchmarks/iperf3/pkg-plist +++ b/benchmarks/iperf3/pkg-plist @@ -1,8 +1,8 @@ bin/iperf3 include/iperf_api.h -lib/libiperf.a +%%STATIC%%lib/libiperf.a lib/libiperf.so lib/libiperf.so.0 lib/libiperf.so.0.0.0 man/man1/iperf3.1.gz man/man3/libiperf.3.gz