pkgsrc/databases/mysql-cluster/options.mk
wiz fe4b598a29 When dtrace option is not enabled, explicitly disable dtrace.
Fixes build on NetBSD built with dtrace.
2015-11-11 11:00:06 +00:00

23 lines
516 B
Makefile

# $NetBSD: options.mk,v 1.2 2015/11/11 11:00:06 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mysql-cluster
PKG_SUPPORTED_OPTIONS+= dtrace ssl
PKG_SUGGESTED_OPTIONS+= ssl
.include "../../mk/bsd.options.mk"
# Enable OpenSSL support
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
CMAKE_ARGS+= -DWITH_SSL=system
.else
CMAKE_ARGS+= -DWITH_SSL=no
.endif
# Enable DTrace support
.if !empty(PKG_OPTIONS:Mdtrace)
CMAKE_ARGS+= -DENABLE_DTRACE=ON
.else
CMAKE_ARGS+= -DENABLE_DTRACE=OFF
.endif