pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/nttcp don't pass the ARCH variable to the c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1eaf22b657a
branches:  trunk
changeset: 463760:c1eaf22b657a
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Nov 25 22:42:30 2003 +0000

description:
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:

 benchmarks/nttcp/distinfo         |   4 ++--
 benchmarks/nttcp/patches/patch-aa |  13 +++++++------
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r 867401c00f85 -r c1eaf22b657a benchmarks/nttcp/distinfo
--- a/benchmarks/nttcp/distinfo Tue Nov 25 22:35:14 2003 +0000
+++ b/benchmarks/nttcp/distinfo Tue Nov 25 22:42:30 2003 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2003/09/19 18:11:44 wiz Exp $
+$NetBSD: distinfo,v 1.4 2003/11/25 22:42:30 dmcmahill Exp $
 
 SHA1 (nttcp-1.47.tar.gz) = 28de7d65074e7546babdfa42b3b88fd8baa2be88
 Size (nttcp-1.47.tar.gz) = 25693 bytes
-SHA1 (patch-aa) = 1699c1fbaaa703fbda32325a2fe395c9018af459
+SHA1 (patch-aa) = 98f93947b4d1e650ad371756463377a7c54704a3
 SHA1 (patch-ab) = f684e6de0fa6df8f28a6372d5dd0bf8e1eee896f
diff -r 867401c00f85 -r c1eaf22b657a benchmarks/nttcp/patches/patch-aa
--- a/benchmarks/nttcp/patches/patch-aa Tue Nov 25 22:35:14 2003 +0000
+++ b/benchmarks/nttcp/patches/patch-aa Tue Nov 25 22:42:30 2003 +0000
@@ -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 @@
  
  ## 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)



Home | Main Index | Thread Index | Old Index