diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-09-09 09:54:49 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-09-09 09:54:49 +0000 |
commit | 5037c77af06fcb6205a4ee75f54e3e297abf67de (patch) | |
tree | 388f7aba8ebb06a3bdbeab06c0fec463154dfecf /benchmarks | |
parent | 41a82483852783fc996ab7bebf85222330903699 (diff) | |
download | ports-5037c77af06fcb6205a4ee75f54e3e297abf67de.tar.gz ports-5037c77af06fcb6205a4ee75f54e3e297abf67de.zip |
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/netperf/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile index f9def6c17738..7ee01942cc7f 100644 --- a/benchmarks/netperf/Makefile +++ b/benchmarks/netperf/Makefile @@ -7,10 +7,14 @@ PORTNAME= netperf PORTVERSION= 2.1.3 -CATEGORIES= benchmarks +CATEGORIES= benchmarks ipv6 MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ DISTNAME= netperf-2.1pl3 +PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ +PATCHFILES= netperf-21pl3-20000721.diff.gz +PATCH_DIST_STRIP= -p1 + MAINTAINER= fenner@freebsd.org MAKEFILE= makefile @@ -19,6 +23,13 @@ MAN1= netperf.1 netserver.1 SCRIPTS= arr_script snapshot_script tcp_range_script tcp_rr_script \ tcp_stream_script udp_rr_script udp_stream_script +.include <bsd.port.pre.mk> + +BUILD_DEFS+= USE_INET6 +.if ${OSVERSION} >= 400014 +CFLAGS+= -DDO_IPV6 +.endif + post-patch: .for i in ${SCRIPTS} @${MV} ${WRKSRC}/$i ${WRKSRC}/$i.pre-sed @@ -36,4 +47,4 @@ post-install: ${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |