summaryrefslogtreecommitdiffstats
path: root/benchmarks/netperf
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2005-10-14 03:33:07 +0000
committerjkoshy <jkoshy@FreeBSD.org>2005-10-14 03:33:07 +0000
commit293d269ca33331f392a418967ecb5acc837ab3fd (patch)
tree7d73349ab879aa94e519572f2053add7a267ad9b /benchmarks/netperf
parentc01c4247ec36904883dab9bdcf04bf30faa712b2 (diff)
downloadFreeBSD-ports-293d269ca33331f392a418967ecb5acc837ab3fd.zip
FreeBSD-ports-293d269ca33331f392a418967ecb5acc837ab3fd.tar.gz
Turn off -DHISTOGRAM as it introduces considerable overhead. Bump portrevision.
Noticed by: rwatson Approved by: sumikawa [MAINTAINER]
Diffstat (limited to 'benchmarks/netperf')
-rw-r--r--benchmarks/netperf/Makefile1
-rw-r--r--benchmarks/netperf/files/patch-makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile
index ddb59f5..49c78e9 100644
--- a/benchmarks/netperf/Makefile
+++ b/benchmarks/netperf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netperf
PORTVERSION= 2.3.1
+PORTREVISION= 1
CATEGORIES= benchmarks ipv6
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
DISTNAME= netperf-2.3pl1
diff --git a/benchmarks/netperf/files/patch-makefile b/benchmarks/netperf/files/patch-makefile
index 1bfcedd..c4f54b9 100644
--- a/benchmarks/netperf/files/patch-makefile
+++ b/benchmarks/netperf/files/patch-makefile
@@ -17,7 +17,7 @@
LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
-CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT
+CFLAGS = %CFLAGS% -D$(LOG_FILE) -DDO_FIRST_BURST
-+CFLAGS+= -DHISTOGRAM -DDO_UNIX -DDO_1644 -DDO_IPV6
++CFLAGS+= -DDO_UNIX -DDO_1644 -DDO_IPV6
# Some platforms, and some options, require additional libraries.
# you can add to the "LIBS =" line to accomplish this. if you find
OpenPOWER on IntegriCloud