aboutsummaryrefslogtreecommitdiff
path: root/libraries/xview
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-02-27 22:40:07 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-03 08:42:07 +0700
commit5ea002829819cc43b52fec6d0ee448d36829df11 (patch)
treec3ecdbdde30f6671e9fa978e27ca57972b754bce /libraries/xview
parent1acd812509995d34a82e40e1842061176203a6a8 (diff)
libraries/xview: Fix build with ARCH=i686.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/xview')
-rw-r--r--libraries/xview/xview.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/xview/xview.SlackBuild b/libraries/xview/xview.SlackBuild
index 6fdd7faf17ba..e3a5c4ab5c43 100644
--- a/libraries/xview/xview.SlackBuild
+++ b/libraries/xview/xview.SlackBuild
@@ -29,14 +29,14 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" != "i486" ]; then
- echo 'Currently only i486 is supported!'
+if [ "$ARCH" != "i586" ] && [ "$ARCH" != "i686" ]; then
+ echo "$ARCH is not supported."
exit 1
fi