From dd4ba4eaf94b52349c0af8e4083050079ba942c3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 16 Oct 2016 17:45:35 +0200 Subject: [PATCH] Add mysql build-fix hook --- hooks/ebuild_configure_pre/mysql.bash | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hooks/ebuild_configure_pre/mysql.bash diff --git a/hooks/ebuild_configure_pre/mysql.bash b/hooks/ebuild_configure_pre/mysql.bash new file mode 100644 index 0000000..76e94c9 --- /dev/null +++ b/hooks/ebuild_configure_pre/mysql.bash @@ -0,0 +1,7 @@ +#!/bin/bash + +if [[ "${CATEGORY}/${PN}" == "dev-db/mysql" ]] ; then + edo sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \ + "${CMAKE_SOURCE}/cmake/ssl.cmake" +fi +