d572d59602
* Made forced shutdown introduced in 0.4.11 optional via the --forced-shutdown switch and off by default. Changes 0.4.11: * Added --oltp-reconnect-mode to the OLTP test. * Minor fixes to remove compiler warnings and DocBook processing on Mac OS X. * Added forced test shutdown to avoid endless execution when DB server freezes * Backport of Windows support from the 0.5 branch Changes 0.4.10: * Fixed the bug with empty --mysql-create-options * Merge two patches from Tim Cook: - use lrand48() as random() is not thread-safe on most platforms - use libumem/mtmalloc for memory allocation if available on the target platform * Got rid of some unnecessary malloc() calls in drv_mysql.c
25 lines
672 B
Makefile
25 lines
672 B
Makefile
# $NetBSD: options.mk,v 1.4 2010/05/27 10:49:07 adam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sysbench
|
|
PKG_SUPPORTED_OPTIONS+= mysql pgsql doc
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
|
|
. include "../../mk/mysql.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-mysql
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
CONFIGURE_ARGS+= --with-pgsql=${PGSQL_PREFIX}
|
|
. include "../../mk/pgsql.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-pgsql
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdoc)
|
|
. include "../../textproc/libxslt/buildlink3.mk"
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
.endif
|