Fix typo in patch-makefile. IPv6 was not enabled.

This commit is contained in:
Munechika SUMIKAWA 2003-01-21 01:14:06 +00:00
parent 460580a8a4
commit 9e8b88f9f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73693
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= netperf
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= benchmarks ipv6
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/%SUBDIR%/
MASTER_SITE_SUBDIR=. archive

View file

@ -17,7 +17,7 @@
LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
-CFLAGS = -Ae -O -D$(LOG_FILE) -DUSE_PSTAT -DHAVE_SENDFILE -DDO_FIRST_BURST
+CFLAGS = %CFLAGS% -D$(LOG_FILE) -DDO_FIRST_BURST #-DHAVE_SENDFILE
+CFLAGS+= -DHISTOGRAM -DDO_UNIX -DDO_1644 -DO_IPV6
+CFLAGS+= -DHISTOGRAM -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