summaryrefslogtreecommitdiff
path: root/benchmarks/netpipe/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 11:09:50 +0000
committerjperkin <jperkin>2016-02-25 11:09:50 +0000
commit863bbf476bf3052f08672eaa20e83ec3b7ceb16f (patch)
tree20a71e434a0684dcc31be7539115b96360ffba6b /benchmarks/netpipe/Makefile
parent8bd0ccc08625676a041a3f91a519824c6d0633c6 (diff)
downloadpkgsrc-863bbf476bf3052f08672eaa20e83ec3b7ceb16f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'benchmarks/netpipe/Makefile')
-rw-r--r--benchmarks/netpipe/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/benchmarks/netpipe/Makefile b/benchmarks/netpipe/Makefile
index 7852f8b605c..27dcc290cd1 100644
--- a/benchmarks/netpipe/Makefile
+++ b/benchmarks/netpipe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2014/10/09 14:05:59 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2016/02/25 11:09:50 jperkin Exp $
DISTNAME= NetPIPE-3.7.1
PKGNAME= netpipe-3.7.1
@@ -13,11 +13,7 @@ LICENSE= gnu-gpl-v2
MAKE_FILE= makefile
CFLAGS+= -DHAVE_GETRUSAGE
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl"
-.endif
+MAKE_ENV.SunOS+= EXTRA_LIBS="-lsocket -lnsl"
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1