diff options
author | tron <tron@pkgsrc.org> | 2001-04-17 12:44:22 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-04-17 12:44:22 +0000 |
commit | da80229bf4fd4a8b543be6b5eb823a593dcefc55 (patch) | |
tree | 0150283f8d159f9dd19ccef3ba243b6bb8ec31c1 /benchmarks/netio | |
parent | 195ff3b46f1e0375612c0478570af24feb510659 (diff) | |
download | pkgsrc-da80229bf4fd4a8b543be6b5eb823a593dcefc55.tar.gz |
Make this package build under Solaris.
Diffstat (limited to 'benchmarks/netio')
-rw-r--r-- | benchmarks/netio/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/netio/Makefile b/benchmarks/netio/Makefile index 6d89e6fd003..48347fa48a2 100644 --- a/benchmarks/netio/Makefile +++ b/benchmarks/netio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/04/17 12:25:33 tron Exp $ +# $NetBSD: Makefile,v 1.2 2001/04/17 12:44:22 tron Exp $ DISTNAME= netio113 PKGNAME= netio-1.13 @@ -12,6 +12,12 @@ COMMENT= Network benchmark for DOS, OS/2 2.x, Windows NT/2000 and Unix ALL_TARGET= pkgsrc WRKSRC= ${WRKDIR} +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == SunOS) +MAKE_ENV+= LIBS="-lsocket -lnsl" +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/netio ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netio |