exherbo-config/hooks/ebuild_configure_pre/mysql.bash
2016-10-16 17:45:35 +02:00

8 lines
197 B
Bash

#!/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