diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-19 18:14:02 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-19 18:14:02 +0000 |
commit | 1dbca7bc7acf11a0e73bab0882bbf8495e25a89b (patch) | |
tree | e075231f897a07fd9736e495d3e6a283bfc3f170 /benchmarks/netpipe/Makefile | |
parent | 469287aeac45e5f64384f492be442cd9213b7a8e (diff) | |
download | pkgsrc-1dbca7bc7acf11a0e73bab0882bbf8495e25a89b.tar.gz |
Make compile on Solaris. From Jonathan Perkin in PR 22860.
Diffstat (limited to 'benchmarks/netpipe/Makefile')
-rw-r--r-- | benchmarks/netpipe/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/benchmarks/netpipe/Makefile b/benchmarks/netpipe/Makefile index 6f1e17d42d4..e4ef0ac2a6d 100644 --- a/benchmarks/netpipe/Makefile +++ b/benchmarks/netpipe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/07/17 21:24:32 grant Exp $ +# $NetBSD: Makefile,v 1.3 2003/09/19 18:14:02 wiz Exp $ DISTNAME= netpipe-2.4 CATEGORIES= benchmarks net @@ -8,6 +8,14 @@ MAINTAINER= thorpej@NetBSD.org HOMEPAGE= http://www.scl.ameslab.gov/netpipe/ COMMENT= TCP/PVM/MPI testing and performance measuring tool +.include "../../mk/bsd.prefs.mk" + +CFLAGS+= -DHAVE_GETRUSAGE + +.if ${OPSYS} == "SunOS" +MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl" +.endif + do-install: cd ${WRKSRC} ; \ ${INSTALL_PROGRAM} NPtcp ${PREFIX}/bin/NPtcp ; \ |