diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
commit | bb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /benchmarks/netperf | |
parent | 29879aded766da253313579a3503ff5e15026355 (diff) | |
download | ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip |
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes:
svn path=/head/; revision=394778
Diffstat (limited to 'benchmarks/netperf')
-rw-r--r-- | benchmarks/netperf/Makefile | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile index 837c480798e8..2086a00d7e52 100644 --- a/benchmarks/netperf/Makefile +++ b/benchmarks/netperf/Makefile @@ -28,37 +28,11 @@ CONFIGURE_ARGS= --program-prefix="" --program-suffix="" --enable-dirty \ INFO= netperf -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSOCKETS} -CONFIGURE_ARGS+= --enable-unixdomain -.else -CONFIGURE_ARGS+= --disable-unixdomain -.endif - -.if ${PORT_OPTIONS:MSCTP} -CONFIGURE_ARGS+= --enable-sctp -.else -CONFIGURE_ARGS+= --disable-sctp -.endif - -.if ${PORT_OPTIONS:MEXS} -CONFIGURE_ARGS+= --enable-exs -.else -CONFIGURE_ARGS+= --disable-exs -.endif - -.if ${PORT_OPTIONS:MHISTOGRAM} -CONFIGURE_ARGS+= --enable-histogram -.else -CONFIGURE_ARGS+= --disable-histogram -.endif - -.if ${PORT_OPTIONS:MOMNI} -CONFIGURE_ARGS+= --enable-omni -.else -CONFIGURE_ARGS+= --disable-omni -.endif +SOCKETS_CONFIGURE_ENABLE= unixdomain +SCTP_CONFIGURE_ENABLE= sctp +EXS_CONFIGURE_ENABLE= exs +HISTOGRAM_CONFIGURE_ENABLE= histogram +OMNI_CONFIGURE_ENABLE= omni SCRIPTS= arr_script packet_byte_script sctp_stream_script snapshot_script \ tcp_range_script tcp_rr_script tcp_stream_script udp_rr_script \ |