summaryrefslogtreecommitdiff
path: root/benchmarks/netio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-04-17 12:44:22 +0000
committertron <tron@pkgsrc.org>2001-04-17 12:44:22 +0000
commitda80229bf4fd4a8b543be6b5eb823a593dcefc55 (patch)
tree0150283f8d159f9dd19ccef3ba243b6bb8ec31c1 /benchmarks/netio
parent195ff3b46f1e0375612c0478570af24feb510659 (diff)
downloadpkgsrc-da80229bf4fd4a8b543be6b5eb823a593dcefc55.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