summaryrefslogtreecommitdiff
path: root/benchmarks/sysbench/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/sysbench/Makefile
parent8bd0ccc08625676a041a3f91a519824c6d0633c6 (diff)
downloadpkgsrc-863bbf476bf3052f08672eaa20e83ec3b7ceb16f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'benchmarks/sysbench/Makefile')
-rw-r--r--benchmarks/sysbench/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/benchmarks/sysbench/Makefile b/benchmarks/sysbench/Makefile
index a6ea16cf3cc..f56e2efa221 100644
--- a/benchmarks/sysbench/Makefile
+++ b/benchmarks/sysbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2015/01/20 06:43:09 mef Exp $
+# $NetBSD: Makefile,v 1.13 2016/02/25 11:09:50 jperkin Exp $
DISTNAME= sysbench-0.4.12
PKGREVISION= 4
@@ -14,11 +14,7 @@ GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
MAKE_FLAGS+= bin_SCRIPTS= # don't install problematic scripts
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-CFLAGS+= -D_NETBSD_SOURCE # hack for ulong along with patch-aa
-.endif
+CFLAGS.NetBSD+= -D_NETBSD_SOURCE # hack for ulong along with patch-aa
.include "../../mk/compiler.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.1[0-9]-*) && \