diff options
author | itojun <itojun@pkgsrc.org> | 2000-01-21 12:37:34 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2000-01-21 12:37:34 +0000 |
commit | 848634a2df3d9272aead69a222be4dc8b2a0f246 (patch) | |
tree | 8c92643b1aaec84d1d207413cd10a9124f56c4cb /net/netperf/patches | |
parent | 8eee1d797f67d3879790be743d99ed0c31ee4ac6 (diff) | |
download | pkgsrc-848634a2df3d9272aead69a222be4dc8b2a0f246.tar.gz |
from latest kame kit
Diffstat (limited to 'net/netperf/patches')
-rw-r--r-- | net/netperf/patches/patch-aa | 30 | ||||
-rw-r--r-- | net/netperf/patches/patch-ab | 20 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net/netperf/patches/patch-aa b/net/netperf/patches/patch-aa new file mode 100644 index 00000000000..cb99426a79a --- /dev/null +++ b/net/netperf/patches/patch-aa @@ -0,0 +1,30 @@ +--- makefile.orig Thu Apr 10 03:02:19 1997 ++++ makefile Fri Jan 21 21:31:07 2000 +@@ -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. +@@ -83,7 +83,7 @@ + # -U__hpux - Use this when compiling _on_ HP-UX *for* an HP-RT system + + LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\"" +-CFLAGS = -O -D$(LOG_FILE) -DUSE_LOOPER ++CFLAGS = %CFLAGS% -D$(LOG_FILE) -DUSE_LOOPER -DHISTOGRAM -DDO_UNIX + + # Some platforms, and some options, require additional libraries. + # you can add to the "LIBS =" line to accomplish this. if you find +@@ -181,6 +181,7 @@ + netserver.o: netserver.c nettest_bsd.h netlib.h makefile + + install: netperf netserver ++ mkdir -p $(NETPERF_HOME) + chmod -w *.[ch] + chmod +x $(NETPERF_SCRIPTS) + cp netperf $(NETPERF_HOME) diff --git a/net/netperf/patches/patch-ab b/net/netperf/patches/patch-ab new file mode 100644 index 00000000000..8d606259bbd --- /dev/null +++ b/net/netperf/patches/patch-ab @@ -0,0 +1,20 @@ +--- makefile Fri Jan 21 21:31:07 2000 ++++ makefile Jan 21 21:30:56 2000 +@@ -83,7 +83,7 @@ + # -U__hpux - Use this when compiling _on_ HP-UX *for* an HP-RT system + + LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\"" +-CFLAGS = %CFLAGS% -D$(LOG_FILE) -DUSE_LOOPER -DHISTOGRAM -DDO_UNIX ++CFLAGS = %CFLAGS% -D$(LOG_FILE) -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 +@@ -101,7 +101,7 @@ + # -lm - required for ALL platforms + # -lxti - required for -DDO_XTI on HP_UX 10.X + +-LIBS= -lm ++LIBS= -lm -L/usr/local/v6/lib -linet6 + + # --------------------------------------------------------------- + # it should not be the case that anything below this line needs to |