- Install manual.html as in default package's behaviour. - Remove do-install part as not nessecary.
25 lines
677 B
Makefile
25 lines
677 B
Makefile
# $NetBSD: options.mk,v 1.3 2007/03/11 01:37:56 rmind 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:Q}
|
|
. include "../../mk/mysql.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-mysql
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
CONFIGURE_ARGS+= --with-pgsql=${PGSQL_PREFIX:Q}
|
|
. 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
|