aboutsummaryrefslogtreecommitdiff
path: root/libraries/xerces-c
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xerces-c')
-rw-r--r--libraries/xerces-c/xerces-c.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/xerces-c/xerces-c.SlackBuild b/libraries/xerces-c/xerces-c.SlackBuild
index 422d63ab3622b..be03bff879b73 100644
--- a/libraries/xerces-c/xerces-c.SlackBuild
+++ b/libraries/xerces-c/xerces-c.SlackBuild
@@ -24,10 +24,17 @@
PRGNAM=xerces-c
VERSION=2.8.0
-ARCH=${ARCH:-i486}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM