Blame SOURCES/mariadb-basedir.patch

4b4994
Don't guess basedir in mysql_config; we place it under _libdir because
4b4994
of multilib conflicts, so use rather configured @prefix@ path directly.
4b4994
4b4994
diff -up mariadb-10.0.13/scripts/mysql_config.sh.patch32 mariadb-10.0.13/scripts/mysql_config.sh
4b4994
--- mariadb-10.0.13/scripts/mysql_config.sh.patch32	2014-08-13 17:28:51.174776518 +0200
4b4994
+++ mariadb-10.0.13/scripts/mysql_config.sh	2014-08-13 17:32:18.205275028 +0200
4b4994
@@ -76,8 +76,7 @@ get_full_path ()
4b4994
 
4b4994
 me=`get_full_path $0`
4b4994
 
4b4994
-# Script might have been renamed but assume mysql_<something>config<something>
4b4994
-basedir=`echo $me | sed -e 's;/bin/mysql_.*config.*;;'`
4b4994
+basedir='@prefix@'
4b4994
 
4b4994
 ldata='@localstatedir@'
4b4994
 execdir='@libexecdir@'