summaryrefslogtreecommitdiff
path: root/benchmarks/netio
diff options
context:
space:
mode:
authortron <tron>2001-04-17 12:44:22 +0000
committertron <tron>2001-04-17 12:44:22 +0000
commit91c8ef5ccaa03ce89dc81efacccb1bfa925f4919 (patch)
tree0150283f8d159f9dd19ccef3ba243b6bb8ec31c1 /benchmarks/netio
parent5783535dbb0d38c490ce0b250a20ceb105b27a54 (diff)
downloadpkgsrc-91c8ef5ccaa03ce89dc81efacccb1bfa925f4919.tar.gz
Make this package build under Solaris.
Diffstat (limited to 'benchmarks/netio')
-rw-r--r--benchmarks/netio/Makefile8
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