inital checkin

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mysql@1601 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2009-12-03 19:24:40 +00:00
parent 3b7f53375c
commit e9402fb2a7
5 changed files with 36 additions and 6 deletions

View File

@@ -488,11 +488,19 @@ mysql_src_unpack() {
rm -f "scripts/mysqlbug"
if use xtradb ; then
# xtradb and innobase can't exist at buildtime side by side
# xtradb and innobase & innodb_plugin can't exist at buildtime side by side
rm -rf "${S}/storage/innobase"
rm -rf "${S}/storage/innodb_plugin"
mv -f "${S}/storage/xtradb" "${S}/storage/innobase"
fi
if use innodb ; then
# innodb and innobase & innodb_plugin can't exist at buildtime side by side
rm -rf "${S}/storage/innobase"
rm -rf "${S}/storage/innodb_plugin"
mv -f "${S}/storage/innodb" "${S}/storage/innobase"
fi
# Make charsets install in the right place
find . -name 'Makefile.am' \
-exec sed --in-place -e 's!$(pkgdatadir)!'${MY_SHAREDSTATEDIR}'!g' {} \;