diff options
author | simonb <simonb> | 2002-08-21 06:36:35 +0000 |
---|---|---|
committer | simonb <simonb> | 2002-08-21 06:36:35 +0000 |
commit | 66680ac4d94e700231deb12703ddaeecbead8710 (patch) | |
tree | a878a9ec82a7299bb1e3ba1c1d6d5365f1b07894 /benchmarks | |
parent | 37c3be42b5e7bb51d31cdeb719ae7b35b3436323 (diff) | |
download | pkgsrc-66680ac4d94e700231deb12703ddaeecbead8710.tar.gz |
Cosmetic nit: don't use -DFreeBSD - this is NetBSD!
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/nttcp/distinfo | 5 | ||||
-rw-r--r-- | benchmarks/nttcp/patches/patch-aa | 27 | ||||
-rw-r--r-- | benchmarks/nttcp/patches/patch-ab | 13 |
3 files changed, 39 insertions, 6 deletions
diff --git a/benchmarks/nttcp/distinfo b/benchmarks/nttcp/distinfo index 4bf557d8cb7..9144675311e 100644 --- a/benchmarks/nttcp/distinfo +++ b/benchmarks/nttcp/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/04/17 21:51:35 thorpej Exp $ +$NetBSD: distinfo,v 1.2 2002/08/21 06:36:35 simonb Exp $ SHA1 (nttcp-1.47.tar.gz) = 28de7d65074e7546babdfa42b3b88fd8baa2be88 Size (nttcp-1.47.tar.gz) = 25693 bytes -SHA1 (patch-aa) = 1697ef81351102beafef1c9e1bfe8df74f9f23a2 +SHA1 (patch-aa) = 4865a0daf25b1ebbbb7e3e01014c50b9c16558a6 +SHA1 (patch-ab) = f684e6de0fa6df8f28a6372d5dd0bf8e1eee896f diff --git a/benchmarks/nttcp/patches/patch-aa b/benchmarks/nttcp/patches/patch-aa index 619067cd33b..3fa60076cd6 100644 --- a/benchmarks/nttcp/patches/patch-aa +++ b/benchmarks/nttcp/patches/patch-aa @@ -1,8 +1,27 @@ -$NetBSD: patch-aa,v 1.1.1.1 2002/04/17 21:51:35 thorpej Exp $ +$NetBSD: patch-aa,v 1.2 2002/08/21 06:36:35 simonb Exp $ ---- Makefile.orig Mon Dec 18 02:17:20 2000 -+++ Makefile Wed Apr 17 14:42:49 2002 -@@ -151,9 +151,12 @@ +--- Makefile.orig Mon Dec 18 21:17:20 2000 ++++ Makefile +@@ -108,8 +108,16 @@ + #DBG= -Wall -g + #INC= + +-# For FreeBSD +-ARCH= -DFreeBSD ++## For FreeBSD ++#ARCH= -DFreeBSD ++#LIB= ++#OPT= -O2 ++#CC= cc ++#DBG= ++#INC= ++ ++# For NetBSD ++ARCH= + LIB= + OPT= -O2 + CC= cc +@@ -151,9 +159,12 @@ VERSION= 1.47 #prefix= /usr/local/dist/DIR/nttcp-$(VERSION) #prefix= /usr/local diff --git a/benchmarks/nttcp/patches/patch-ab b/benchmarks/nttcp/patches/patch-ab new file mode 100644 index 00000000000..42f9100563c --- /dev/null +++ b/benchmarks/nttcp/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2002/08/21 06:36:35 simonb Exp $ + +--- nttcp.c.orig Mon Dec 18 21:16:54 2000 ++++ nttcp.c +@@ -136,7 +136,7 @@ + #endif /* aix */ + + /*====================================================================*/ +-#if defined(FreeBSD) ++#if defined(FreeBSD) || defined(__NetBSD__) + #define SIGCLD SIGCHLD + #endif /*FreeBSD*/ + |