diff options
author | lifanov <lifanov@FreeBSD.org> | 2017-02-23 01:31:39 +0800 |
---|---|---|
committer | lifanov <lifanov@FreeBSD.org> | 2017-02-23 01:31:39 +0800 |
commit | 851f4418b44a2ade24e960573adb414c427399bd (patch) | |
tree | eab403c021fb1f3997304e4534ee1f8ffd565860 /Mk | |
parent | 17ed55898490082b278744888f146c5b8d9709e2 (diff) | |
download | freebsd-ports-gnome-851f4418b44a2ade24e960573adb414c427399bd.tar.gz freebsd-ports-gnome-851f4418b44a2ade24e960573adb414c427399bd.tar.zst freebsd-ports-gnome-851f4418b44a2ade24e960573adb414c427399bd.zip |
add databases/mysqlwsrep56-server
- MySQL version enabled for Galera Replication
PR: 214807
Submitted by: Philip Stoev <philip.stoev@galeracluster.com>
Reviewed by: matthew, mat, mmokhi
Approved by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D9427
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/mysql.mk | 17 | ||||
-rw-r--r-- | Mk/bsd.default-versions.mk | 2 |
2 files changed, 13 insertions, 6 deletions
diff --git a/Mk/Uses/mysql.mk b/Mk/Uses/mysql.mk index 7cb183386ea3..2aeb7b72a922 100644 --- a/Mk/Uses/mysql.mk +++ b/Mk/Uses/mysql.mk @@ -63,6 +63,7 @@ MYSQL55m_LIBVER= 18 MYSQL55p_LIBVER= 18 MYSQL56_LIBVER= 18 MYSQL56p_LIBVER= 18 +MYSQL56w_LIBVER= 18 MYSQL57_LIBVER= 20 MYSQL57p_LIBVER= 20 MYSQL80_LIBVER= 21 @@ -106,15 +107,21 @@ IGNORE= cannot install: MySQL versions mismatch: mysql${_MYSQL_VER}-client is i .endif .if (${MYSQL_VER:C/[0-9]*//} == "m") -_MYSQL_FLAVOUR= mariadb +_MYSQL_SERVER_FLAVOUR= mariadb +_MYSQL_CLIENT_FLAVOUR= mariadb .elif (${MYSQL_VER:C/[0-9]*//} == "p") -_MYSQL_FLAVOUR= percona +_MYSQL_SERVER_FLAVOUR= percona +_MYSQL_CLIENT_FLAVOUR= percona +.elif (${MYSQL_VER:C/[0-9]*//} == "w") +_MYSQL_SERVER_FLAVOUR= mysqlwsrep +_MYSQL_CLIENT_FLAVOUR= mysql .else -_MYSQL_FLAVOUR= mysql +_MYSQL_SERVER_FLAVOUR= mysql +_MYSQL_CLIENT_FLAVOUR= mysql .endif -_MYSQL_CLIENT= databases/${_MYSQL_FLAVOUR}${MYSQL_VER:C/[mp]//}-client -_MYSQL_SERVER= databases/${_MYSQL_FLAVOUR}${MYSQL_VER:C/[mp]//}-server +_MYSQL_CLIENT= databases/${_MYSQL_CLIENT_FLAVOUR}${MYSQL_VER:C/[mp]//}-client +_MYSQL_SERVER= databases/${_MYSQL_SERVER_FLAVOUR}${MYSQL_VER:C/[mp]//}-server # And now we are checking if we can use it .if defined(MYSQL${MYSQL_VER}_LIBVER) diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index 592ba2b447e4..97b9b4f88cb1 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -54,7 +54,7 @@ WARNING+= "OVERRIDE_LINUX_BASE_PORT is deprecated, please use DEFAULT_VERSIONS+ .endif # Possible values: 5.1, 5.2, 5.3 LUA_DEFAULT?= 5.2 -# Possible values: 5.1, 5.5, 5.6, 5.7, 8.0, 5.5m, 10.0m, 10.1m, 5.5p, 5.6p, 5.7p +# Possible values: 5.1, 5.5, 5.6, 5.7, 8.0, 5.5m, 10.0m, 10.1m, 5.5p, 5.6p, 5.7p, 5.6w MYSQL_DEFAULT?= 5.6 # Possible values: 5.20, 5.22, 5.24, devel .if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ |