summaryrefslogtreecommitdiff
path: root/databases/mysql55-client/options.mk
diff options
context:
space:
mode:
authoradam <adam>2011-04-25 21:12:52 +0000
committeradam <adam>2011-04-25 21:12:52 +0000
commitcc29a1be6ab453d2bbc32d68447372858b1dbb4c (patch)
tree0fedf54840f4aac5d81f3a02835064812cf90373 /databases/mysql55-client/options.mk
parent22a4a056d1b7643cb5894591fae34766bd6bf1ab (diff)
downloadpkgsrc-cc29a1be6ab453d2bbc32d68447372858b1dbb4c.tar.gz
MySQL is a SQL (Structured Query Language) database server. SQL is the most
popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL). This package contains the MySQL client programs and libraries.
Diffstat (limited to 'databases/mysql55-client/options.mk')
-rw-r--r--databases/mysql55-client/options.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/databases/mysql55-client/options.mk b/databases/mysql55-client/options.mk
new file mode 100644
index 00000000000..464126d097d
--- /dev/null
+++ b/databases/mysql55-client/options.mk
@@ -0,0 +1,28 @@
+# $NetBSD: options.mk,v 1.1.1.1 2011/04/25 21:12:53 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