mysql: fix build with openssl 1.0.2
This commit is contained in:
parent
c0a2551e57
commit
c71b8b660e
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user