mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
Various tool fixes, necessary to build 5.1.12-beta on Netware.
This commit is contained in:
parent
2f0689e254
commit
f1e021763b
4 changed files with 15 additions and 11 deletions
|
@ -5,8 +5,11 @@
|
|||
|
||||
# stop on errors
|
||||
set -e
|
||||
sed -e "s/^DIST_COMMON/#DIST_COMMON/g" storage/ndb/Makefile.am > storage/ndb/Makefile.am.$$
|
||||
mv storage/ndb/Makefile.am.$$ storage/ndb/Makefile.am
|
||||
|
||||
for package in . ./storage/innobase
|
||||
# for package in . ./storage/innobase
|
||||
for package in .
|
||||
do
|
||||
(cd $package
|
||||
rm -rf config.cache autom4te.cache
|
||||
|
@ -14,6 +17,7 @@ do
|
|||
autoheader
|
||||
libtoolize --force
|
||||
aclocal
|
||||
# automake --verbose --add-missing --force-missing
|
||||
automake --add-missing --force-missing
|
||||
autoconf)
|
||||
done
|
||||
|
|
|
@ -24,5 +24,4 @@ base_configs=" \
|
|||
--prefix=N:/mysql \
|
||||
--without-mysqlmanager \
|
||||
--without-man \
|
||||
--without-csv-storage-engine \
|
||||
"
|
||||
|
|
|
@ -8,7 +8,7 @@ fi
|
|||
|
||||
# The base path(in wineformat) where compilers, includes and
|
||||
# libraries are installed
|
||||
if test -z $MYDEV
|
||||
if test -z "$MYDEV"
|
||||
then
|
||||
# the default is "F:/mydev"
|
||||
export MYDEV="F:/mydev"
|
||||
|
|
|
@ -151,17 +151,18 @@ echo "making files writable..."
|
|||
cd $target_dir
|
||||
chmod -R u+rw,g+rw .
|
||||
|
||||
# edit the mvenv file
|
||||
echo "updating the mwenv environment file..."
|
||||
## # edit the mvenv file
|
||||
## echo "updating the mwenv environment file..."
|
||||
mwenv="./netware/BUILD/mwenv"
|
||||
mv -f $mwenv $mwenv.org
|
||||
sed -e "s;WINE_BUILD_DIR;$wine_build_dir;g" \
|
||||
-e "s;BUILD_DIR;$build_dir;g" \
|
||||
-e "s;VERSION;$version;g" $mwenv.org > $mwenv
|
||||
chmod +rwx $mwenv
|
||||
## mv -f $mwenv $mwenv.org
|
||||
## sed -e "s;WINE_BUILD_DIR;$wine_build_dir;g" \
|
||||
## -e "s;BUILD_DIR;$build_dir;g" \
|
||||
## -e "s;VERSION;$version;g" $mwenv.org > $mwenv
|
||||
## chmod +rwx $mwenv
|
||||
|
||||
PWD=`pwd`
|
||||
SRC_DIR=`grep "^export MYDEV=" $mwenv | cut -d'=' -f2 | \
|
||||
# This line will catch the default value only, let's hope it is correct
|
||||
SRC_DIR=`grep "^ *export MYDEV=" $mwenv | cut -d'=' -f2 | \
|
||||
sed -e 's;";;g' -e "s;^;echo ;g" -e "s;$;/\`basename $PWD\`;g" | /bin/sh`
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue