pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/iozone Add missing options.mk which didn't ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae39b7c28d14
branches:  trunk
changeset: 546350:ae39b7c28d14
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Fri Aug 29 06:14:22 2008 +0000

description:
Add missing options.mk which didn't make the last train out.

diffstat:

 benchmarks/iozone/options.mk |  21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r ca78f9c17356 -r ae39b7c28d14 benchmarks/iozone/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/iozone/options.mk      Fri Aug 29 06:14:22 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index