diff options
author | bjs <bjs> | 2008-08-29 06:14:22 +0000 |
---|---|---|
committer | bjs <bjs> | 2008-08-29 06:14:22 +0000 |
commit | 219fc9d7420e9ca3ae65d177c3f401679cd4bb9f (patch) | |
tree | 3af7217b77508e4c56f7000678eba0d644b5cf6c /benchmarks/iozone/options.mk | |
parent | 15315ea4267f266c3d93b3ed9c81195dd6d9b1cf (diff) | |
download | pkgsrc-219fc9d7420e9ca3ae65d177c3f401679cd4bb9f.tar.gz |
Add missing options.mk which didn't make the last train out.
Diffstat (limited to 'benchmarks/iozone/options.mk')
-rw-r--r-- | benchmarks/iozone/options.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/benchmarks/iozone/options.mk b/benchmarks/iozone/options.mk new file mode 100644 index 00000000000..e7a7a93e48d --- /dev/null +++ b/benchmarks/iozone/options.mk @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.1 2008/08/29 06:14:22 bjs 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 |