blob: 956aa1c5dea01f58ece63e8b96c818a8f97b0e47 (
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
27
|
# $NetBSD: options.mk,v 1.4 2011/03/17 13:26:04 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mysql5
PKG_SUPPORTED_OPTIONS+= embedded-server mysqlmanager ndb-cluster pstack ssl
PKG_SUGGESTED_OPTIONS+= embedded-server mysqlmanager ndb-cluster pstack 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"
CONFIGURE_ARGS+= --with-ssl=yes
. endif
. else
CONFIGURE_ARGS+= --with-ssl=yes
. endif
.else
CONFIGURE_ARGS+= --without-ssl
.endif
|