summaryrefslogtreecommitdiff
path: root/benchmarks/nttcp/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2003-11-25 22:42:30 +0000
committerdmcmahill <dmcmahill>2003-11-25 22:42:30 +0000
commitd7de55a23602fc011b6e8685db46cd465350de37 (patch)
tree2754a6f0d630fd111995ebb7927ffae949b1a025 /benchmarks/nttcp/patches
parenta6f5e3c84fab1cdc0045cc6258e7cef3f4c73bce (diff)
downloadpkgsrc-d7de55a23602fc011b6e8685db46cd465350de37.tar.gz
don't pass the ARCH variable to the c compiler. Its not used intentionally
and it can break if a system uses ARCH for other purposes. Noted in recent bulk builds.
Diffstat (limited to 'benchmarks/nttcp/patches')
-rw-r--r--benchmarks/nttcp/patches/patch-aa13
1 files changed, 7 insertions, 6 deletions
diff --git a/benchmarks/nttcp/patches/patch-aa b/benchmarks/nttcp/patches/patch-aa
index ae09663e2d3..b8a1a9b11e7 100644
--- a/benchmarks/nttcp/patches/patch-aa
+++ b/benchmarks/nttcp/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 2003/09/19 18:11:45 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2003/11/25 22:42:30 dmcmahill Exp $
--- Makefile.orig Mon Dec 18 10:17:20 2000
-+++ Makefile Fri Sep 19 16:31:34 2003
++++ Makefile
@@ -108,13 +108,13 @@
#DBG= -Wall -g
#INC=
@@ -23,17 +23,18 @@ $NetBSD: patch-aa,v 1.3 2003/09/19 18:11:45 wiz Exp $
## For SGI IRIX 5.3, 6.2 (cc or gcc)
#ARCH=
-@@ -151,10 +151,13 @@
+@@ -151,9 +151,12 @@ INC=
VERSION= 1.47
#prefix= /usr/local/dist/DIR/nttcp-$(VERSION)
#prefix= /usr/local
-prefix= /usr/local/opt/nttcp-$(VERSION)
+-CFLAGS = $(ARCH) $(DBG) $(DEF) $(INC) $(OPT) -DVERSION=\"$(VERSION)\"
+#prefix= /usr/local/opt/nttcp-$(VERSION)
+prefix= ${PREFIX}
- CFLAGS = $(ARCH) $(DBG) $(DEF) $(INC) $(OPT) -DVERSION=\"$(VERSION)\"
++CFLAGS = $(DBG) $(DEF) $(INC) $(OPT) -DVERSION=\"$(VERSION)\"
LFLAGS = $(DBG)
-
-+all: nttcp
+
++all: nttcp
+
nttcp: nttcp.o support.o
$(CC) $(LFLAGS) nttcp.o -o nttcp support.o $(LIB)