summaryrefslogtreecommitdiff
path: root/databases/mysql55-client/options.mk
blob: 5ee144d60fd0707e0d84893eb9cc495ecf8c0542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: options.mk,v 1.2 2013/02/12 20:36:28 adam Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.mysql5

# ndb-cluster does not configure with cmake
PKG_SUPPORTED_OPTIONS+=	embedded-server ndb-cluster ssl
PKG_SUGGESTED_OPTIONS+=	embedded-server ssl

.include "../../mk/bsd.options.mk"

# Enable OpenSSL support
.if !empty(PKG_OPTIONS:Mssl)
.	include "../../security/openssl/buildlink3.mk"
.  if ${OPSYS} == "SunOS"
CHECK_BUILTIN.openssl:=yes
.    include "../../security/openssl/builtin.mk"
CHECK_BUILTIN.openssl:=no
.    if ${USE_BUILTIN.openssl} == "yes"
CMAKE_ARGS+=		-DWITH_SSL=system
.    endif
.  else
CMAKE_ARGS+=		-DWITH_SSL=system
.  endif
.else
CMAKE_ARGS+=		-DWITH_SSL=no
.endif