summaryrefslogtreecommitdiff
path: root/databases/mysql-cluster/options.mk
diff options
context:
space:
mode:
authorjnemeth <jnemeth>2014-12-01 05:57:48 +0000
committerjnemeth <jnemeth>2014-12-01 05:57:48 +0000
commit050b9db8b660da04186a9f40053fc19ba468d92d (patch)
treebd2b32d64ceed8405e118ef42d2ad76dbbfb2d4d /databases/mysql-cluster/options.mk
parentcae18272ccd0bf20693938edb846192fdf7fec24 (diff)
downloadpkgsrc-050b9db8b660da04186a9f40053fc19ba468d92d.tar.gz
MySQL Cluster is a highly scalable, real-time, ACID-compliant
transactional database, combining 99.999% availability with the low TCO of open source. Designed around a distributed, multi-master architecture with no single point of failure, MySQL Cluster scales horizontally on commodity hardware to serve read and write intensive workloads, accessed via SQL and NoSQL interfaces.
Diffstat (limited to 'databases/mysql-cluster/options.mk')
-rw-r--r--databases/mysql-cluster/options.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/mysql-cluster/options.mk b/databases/mysql-cluster/options.mk
new file mode 100644
index 00000000000..9028bce6fdd
--- /dev/null
+++ b/databases/mysql-cluster/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1.1.1 2014/12/01 05:58:03 jnemeth 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
+.endif