aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/netperf
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2005-10-14 03:33:07 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2005-10-14 03:33:07 +0000
commit3cd8f9089fb4f54d1edd48a3b569be9884094e48 (patch)
tree6e2fbfb2170c8761afdd871c1b9234071f88c4ce /benchmarks/netperf
parent3dcb2fb51f4d6061a4c6e38d589ef87f00311953 (diff)
downloadports-3cd8f9089fb4f54d1edd48a3b569be9884094e48.tar.gz
ports-3cd8f9089fb4f54d1edd48a3b569be9884094e48.zip
Turn off -DHISTOGRAM as it introduces considerable overhead. Bump portrevision.
Noticed by: rwatson Approved by: sumikawa [MAINTAINER]
Notes
Notes: svn path=/head/; revision=145326
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 ddb59f536567..49c78e9fb7cc 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 1bfcedd99d55..c4f54b904632 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