| 127 | variant mysql51 conflicts mysql5 mysql55 mysql56 mariadb percona description {Enable MySQL 5.1 support} { |
| 128 | depends_lib-append port:mysql51 |
| 129 | configure.args-delete --without-mysql |
| 130 | configure.args-append --with-mysql=yes |
| 131 | configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql51/bin/mysql_config |
| 132 | } |
| 133 | |
| 134 | variant mysql55 conflicts mysql5 mysql51 mysql56 mariadb percona description {Enable MySQL 5.5 support} { |
| 135 | depends_lib-append port:mysql55 |
| 136 | configure.args-delete --without-mysql |
| 137 | configure.args-append --with-mysql=yes |
| 138 | configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql55/bin/mysql_config |
| 139 | } |
| 140 | |
| 141 | variant mysql56 conflicts mysql5 mysql51 mysql55 mariadb percona description {Enable MySQL 5.6 support} { |
| 142 | depends_lib-append port:mysql56 |
| 143 | configure.args-delete --without-mysql |
| 144 | configure.args-append --with-mysql=yes |
| 145 | configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql56/bin/mysql_config |
| 146 | } |
| 147 | |
| 148 | variant mariadb conflicts mysql5 mysql51 mysql55 mysql56 percona description {Enable MariaDB (MySQL) support} { |
| 149 | depends_lib-append port:mariadb |
| 150 | configure.args-delete --without-mysql |
| 151 | configure.args-append --with-mysql=yes |
| 152 | configure.env-append MYSQL_CONFIG=${prefix}/lib/mariadb/bin/mysql_config |
| 153 | } |
| 154 | |
| 155 | variant percona conflicts mysql5 mysql51 mysql55 mysql56 mariadb description {Enable Percona (MySQL) support} { |
| 156 | depends_lib-append port:percona |
| 157 | configure.args-delete --without-mysql |
| 158 | configure.args-append --with-mysql=yes |
| 159 | configure.env-append MYSQL_CONFIG=${prefix}/lib/percona/bin/mysql_config |
| 160 | } |
| 161 | |