fe4b598a29
Fixes build on NetBSD built with dtrace.
23 lines
516 B
Makefile
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
|