pkgsrc/benchmarks/iozone/options.mk
rillig 04206ce922 benchmarks: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 11:55:29 +00:00

21 lines
484 B
Makefile

# $NetBSD: options.mk,v 1.2 2019/11/03 11:55:29 rillig Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.iozone
PKG_SUPPORTED_OPTIONS= threads
CHECK_BUILTIN.pthread:= yes
.include "../../mk/pthread.builtin.mk"
CHECK_BUILTIN.pthread:= no
.if !empty(USE_BUILTIN.pthread:M[Yy][Ee][Ss])
PKG_SUGGESTED_OPTIONS= threads
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mthreads)
BUILDLINK_TRANSFORM+= opt:-DNO_THREADS:-DTHREADS
PTHREAD_AUTO_VARS= yes
PTHREAD_OPTS+= require
.endif