diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-19 18:11:43 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-19 18:11:43 +0000 |
commit | cc39a53884137bf419ab8b2ec64c176ad5d1d19f (patch) | |
tree | 8daf8bf3d24af1f025c6f277127794bf15dd8469 /benchmarks/nttcp/Makefile | |
parent | 70287214ece2aeffdc6ab009188e7d2e52ce4a55 (diff) | |
download | pkgsrc-cc39a53884137bf419ab8b2ec64c176ad5d1d19f.tar.gz |
Make compile on Solaris. From Jonathan Perkin in PR 22859.
Diffstat (limited to 'benchmarks/nttcp/Makefile')
-rw-r--r-- | benchmarks/nttcp/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/nttcp/Makefile b/benchmarks/nttcp/Makefile index 8e708da8a5b..7b25fd5f4ee 100644 --- a/benchmarks/nttcp/Makefile +++ b/benchmarks/nttcp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/07/17 21:24:33 grant Exp $ +# $NetBSD: Makefile,v 1.3 2003/09/19 18:11:43 wiz Exp $ DISTNAME= nttcp-1.47 CATEGORIES= benchmarks net @@ -8,6 +8,12 @@ MAINTAINER= thorpej@NetBSD.org HOMEPAGE= http://www.leo.org/~elmar/nttcp/ COMMENT= New TCP testing and performance measuring tool +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +MAKE_ENV+= LIB="-lsocket -lnsl" +.endif + do-install: cd ${WRKSRC} ; \ ${INSTALL_PROGRAM} nttcp ${PREFIX}/bin/nttcp ; \ |