# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# New 5.6.x releases will be available until 2021-02;
# however, support for macOS has ended early (2018-10-19)
deprecated.upstream_support no
# Set revision_client and revision_server to 0 on
set version_branch [join [lrange [split ${version} .] 0 1] .]
homepage https://www.mysql.com/
revision ${revision_client}
description Multithreaded SQL database server
long_description MySQL is an open-source, multi-threaded SQL database.
master_sites mysql:MySQL-${version_branch}
distname mysql-${version}
patchfiles patch-cmake-install_layout.cmake.diff
# Add yasll includes and libs before prefix
patchfiles-append patch-cmake-install_layout.cmake-yassl.diff
# Fix detection of htonll/ntohll.
patchfiles-append patch-configure.cmake.diff \
patch-innodb_memcached-daemon_memcached-include-memcached-util.h.diff
# Patch scripts/* files that do not find configuration, support and binary files.
patchfiles-append patch-scripts-mysql_install_db.pl.in.diff \
patch-scripts-mysql_secure_installation.pl.in.diff
checksums rmd160 c711161babd1b8f9b7f96d88264a468972a83a0b \
sha256 404d798974dd89aca4a19e67194b534eddc7508489982175978966360607aabb \
depends_lib-append port:zlib port:tcp_wrappers port:ncurses
depends_run-append port:mysql_select
select.file ${filespath}/${name_mysql}