aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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