$NetBSD: patch-aa,v 1.4 2004/12/02 06:41:49 itojun Exp $ --- makefile.orig 2004-09-22 06:33:40.000000000 +0900 +++ makefile 2004-12-02 15:39:16.000000000 +0900 @@ -15,8 +15,8 @@ # for the rest of the world, it is probably better to put the binaries # in /usr/local/netperf or /opt/netperf # -#NETPERF_HOME = /usr/local/netperf -NETPERF_HOME = /opt/netperf +NETPERF_HOME = ${PREFIX}/netperf +#NETPERF_HOME = /opt/netperf # The compiler on your system might be somewhere else, and/or have # a different name. @@ -113,7 +113,8 @@ # netserver via the netperf command line with -T LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\"" -CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT +CFLAGS = -O -D$(LOG_FILE) +CFLAGS+=-fno-strength-reduce -DUSE_LOOPER -DHISTOGRAM -DDO_UNIX -DDO_IPV6 # Some platforms, and some options, require additional libraries. # you can add to the "LIBS =" line to accomplish this. if you find