diff options
| author | Brian Evans <grknight@gentoo.org> | 2015-10-20 10:35:27 -0400 |
|---|---|---|
| committer | Brian Evans <grknight@gentoo.org> | 2015-10-20 10:52:25 -0400 |
| commit | 37a22f1242fb0c1e71cf4f6a7285553dcf25a66d (patch) | |
| tree | 767585b388046ca262668a088b69664b60d85b22 /dev-db/mysql/mysql-5.6.26.ebuild | |
| parent | 1f6218d9eef8a4cbd65eab42c5ebe2d02b775528 (diff) | |
| download | gentoo-37a22f1242fb0c1e71cf4f6a7285553dcf25a66d.tar.gz gentoo-37a22f1242fb0c1e71cf4f6a7285553dcf25a66d.tar.bz2 gentoo-37a22f1242fb0c1e71cf4f6a7285553dcf25a66d.zip | |
dev-db/mysql: Add LibreSSL support
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-db/mysql/mysql-5.6.26.ebuild')
| -rw-r--r-- | dev-db/mysql/mysql-5.6.26.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-db/mysql/mysql-5.6.26.ebuild b/dev-db/mysql/mysql-5.6.26.ebuild index 689d4aee4db6..3235fd935839 100644 --- a/dev-db/mysql/mysql-5.6.26.ebuild +++ b/dev-db/mysql/mysql-5.6.26.ebuild @@ -30,6 +30,14 @@ RDEPEND="${RDEPEND}" # disable until we see what happens with it MYSQL_CMAKE_NATIVE_DEFINES="-DWITHOUT_VALIDATE_PASSWORD=1" +src_prepare() { + mysql-multilib_src_prepare + if use libressl ; then + sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \ + "${S}/cmake/ssl.cmake" || die + fi +} + # Official test instructions: # USE='embedded extraengine perl ssl static-libs community' \ # FEATURES='test userpriv -usersandbox' \ |
