summaryrefslogtreecommitdiff
path: root/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2015-10-20 10:42:07 -0400
committerBrian Evans <grknight@gentoo.org>2015-10-20 10:52:30 -0400
commite93c3b2c05c3bda4f115c260531d9942f98ba39d (patch)
tree71d80046f840553b4df343bba8be90edb0524133 /dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild
parent37a22f1242fb0c1e71cf4f6a7285553dcf25a66d (diff)
downloadgentoo-e93c3b2c05c3bda4f115c260531d9942f98ba39d.tar.gz
gentoo-e93c3b2c05c3bda4f115c260531d9942f98ba39d.tar.bz2
gentoo-e93c3b2c05c3bda4f115c260531d9942f98ba39d.zip
dev-db/mysql-cluster: Add LibreSSL support
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild')
-rw-r--r--dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild b/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild
index 20b5fee46b98..c6e01f67ffd6 100644
--- a/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild
+++ b/dev-db/mysql-cluster/mysql-cluster-7.3.9-r1.ebuild
@@ -24,6 +24,14 @@ RDEPEND="!media-sound/amarok[embedded]"
# If you want to add a single patch, copy the ebuild to an overlay
# and create your own mysql-extras tarball, looking at 000_index.txt
+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='cluster extraengine perl ssl community' \
# FEATURES='test userpriv -usersandbox' \