mysql: fix build with openssl 1.0.2

This commit is contained in:
Juergen Daubert 2015-01-24 15:05:44 +01:00
parent c0a2551e57
commit c71b8b660e

View File

@ -5,13 +5,16 @@
name=mysql
version=5.6.22
release=1
release=2
source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.6/$name-$version.tar.gz \
my.cnf mysqld)
build () {
cd $name-$version
# fix for openssl 1.0.2
sed -i 's/REGEX "^#define/REGEX "^# *define/' cmake/ssl.cmake
cmake . \
-DBUILD_CONFIG=mysql_release \
-DINSTALL_LAYOUT=RPM \