summaryrefslogtreecommitdiff
path: root/benchmarks/netpipe/patches
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-12 15:11:37 +0000
committerhans <hans@pkgsrc.org>2012-01-12 15:11:37 +0000
commit4ef53fe0808c0818a7ae91d1cb34a5d714d1fa0d (patch)
tree75eaedaac49b021d606d2fccdbc91944eccc1af2 /benchmarks/netpipe/patches
parentb0374531c16841b5d6b2c2a3526b3f7e7242e78d (diff)
downloadpkgsrc-4ef53fe0808c0818a7ae91d1cb34a5d714d1fa0d.tar.gz
Fix build on SunOS.
Diffstat (limited to 'benchmarks/netpipe/patches')
-rw-r--r--benchmarks/netpipe/patches/patch-aa11
1 files changed, 10 insertions, 1 deletions
diff --git a/benchmarks/netpipe/patches/patch-aa b/benchmarks/netpipe/patches/patch-aa
index 47520d51184..0fb19ce878c 100644
--- a/benchmarks/netpipe/patches/patch-aa
+++ b/benchmarks/netpipe/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2010/10/16 10:15:57 adam Exp $
+$NetBSD: patch-aa,v 1.5 2012/01/12 15:15:09 hans Exp $
--- makefile.orig 2010-10-14 09:16:46.000000000 +0000
+++ makefile
@@ -11,3 +11,12 @@ $NetBSD: patch-aa,v 1.4 2010/10/16 10:15:57 adam Exp $
SRC = ./src
# For MPI, mpicc will set up the proper include and library paths
+@@ -81,7 +79,7 @@ clean:
+
+
+ tcp: $(SRC)/tcp.c $(SRC)/netpipe.c $(SRC)/netpipe.h
+- $(CC) $(CFLAGS) $(SRC)/netpipe.c $(SRC)/tcp.c -DTCP -o NPtcp -I$(SRC)
++ $(CC) $(CFLAGS) $(SRC)/netpipe.c $(SRC)/tcp.c -DTCP -o NPtcp -I$(SRC) ${EXTRA_LIBS}
+
+ tcp6: $(SRC)/tcp.c $(SRC)/netpipe.c $(SRC)/netpipe.h
+ $(CC) $(CFLAGS) $(SRC)/netpipe.c $(SRC)/tcp6.c -DTCP6 \