summaryrefslogtreecommitdiff
path: root/netware
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-10-24 12:53:47 +0200
committermsvensson@neptunus.(none) <>2006-10-24 12:53:47 +0200
commit33a200d73dde609418d8096a4795694f5be885f5 (patch)
treef49940b1731e72b01cbe18792f3d50b5e749da6b /netware
parent10f8cdef74e64759dad92dbd4327f8b9169e234e (diff)
parent6b920ebd84b167984cb765e1953a73fc9dd305ee (diff)
downloadmariadb-git-33a200d73dde609418d8096a4795694f5be885f5.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
Diffstat (limited to 'netware')
-rwxr-xr-xnetware/BUILD/compile-netware-END9
-rwxr-xr-xnetware/BUILD/mwenv10
2 files changed, 15 insertions, 4 deletions
diff --git a/netware/BUILD/compile-netware-END b/netware/BUILD/compile-netware-END
index a8d829499bd..6c531ab5c7c 100755
--- a/netware/BUILD/compile-netware-END
+++ b/netware/BUILD/compile-netware-END
@@ -18,8 +18,13 @@ rm -rf Makefile.in.bk
# Setup Metrowerks environment
. $path/mwenv
-# Run autotools(use BUILD/autorun.sh)
-. BUILD/autorun.sh
+# Temporary hack to allow building from source dist
+if [ ! "$USER"=pushbuild ]
+then
+ # Run autotools(use BUILD/autorun.sh)
+ echo "Running autotools again(BUILD/autorun.sh)"
+ . BUILD/autorun.sh
+fi
# configure
./configure $base_configs $extra_configs
diff --git a/netware/BUILD/mwenv b/netware/BUILD/mwenv
index c3869d2ec90..25144b58921 100755
--- a/netware/BUILD/mwenv
+++ b/netware/BUILD/mwenv
@@ -27,8 +27,8 @@ WINE_BUILD_DIR="$base/$WINE_BUILD_DIR"
echo "WINE_BUILD_DIR: $WINE_BUILD_DIR"
# Look for libc, MySQL 5.1.x uses libc-2006 by default
-libcdir="$MYDEV/libc-2006"
-if test ! -d $libcdir
+libc_dir="$MYDEV/libc-2006"
+if [ ! -d `winepath $libc_dir` ]
then
# The libcdir didn't exist, set default
libc_dir="$MYDEV/libc"
@@ -65,5 +65,11 @@ then
export TERM=linux
fi
+# Temporary hack to allow building from source dist
+if [ "$USER"=pushbuild ]
+then
+ export ARFLAGS=$AR_FLAGS
+fi
+
# Print all env. variables
export