summaryrefslogtreecommitdiff
path: root/benchmarks/nttcp
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 11:09:50 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 11:09:50 +0000
commitaa0a0b7fb811b9fbab9a3fc5edd97d9a775c4291 (patch)
tree20a71e434a0684dcc31be7539115b96360ffba6b /benchmarks/nttcp
parent481d946868db5ebe0f3a0adf071ec35b66472893 (diff)
downloadpkgsrc-aa0a0b7fb811b9fbab9a3fc5edd97d9a775c4291.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'benchmarks/nttcp')
-rw-r--r--benchmarks/nttcp/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/benchmarks/nttcp/Makefile b/benchmarks/nttcp/Makefile
index 734c418f051..58741298e0f 100644
--- a/benchmarks/nttcp/Makefile
+++ b/benchmarks/nttcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2014/10/09 14:06:00 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2016/02/25 11:09:50 jperkin Exp $
DISTNAME= nttcp-1.47
PKGREVISION= 1
@@ -9,11 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # http://home.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
+MAKE_ENV.SunOS+= LIB="-lsocket -lnsl"
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1