summaryrefslogtreecommitdiff
path: root/academic/loggerpro/loggerpro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/loggerpro/loggerpro.SlackBuild')
-rw-r--r--academic/loggerpro/loggerpro.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/academic/loggerpro/loggerpro.SlackBuild b/academic/loggerpro/loggerpro.SlackBuild
index 47b9966182..bef9968019 100644
--- a/academic/loggerpro/loggerpro.SlackBuild
+++ b/academic/loggerpro/loggerpro.SlackBuild
@@ -27,12 +27,10 @@ VERSION=${VERSION:-3.8.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -42,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
SHORTARCH="32"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -56,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT