summaryrefslogtreecommitdiff
path: root/academic/calc/calc.SlackBuild
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2017-01-17 09:34:26 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-21 07:04:24 +0700
commit31cbbff3872f0acb9560746d125eaba6ccec4655 (patch)
tree482a8c18f6bbc74403822447ea0226a7c4f2a544 /academic/calc/calc.SlackBuild
parent982c992682989005e962cbd1aa6f57191ed4b4d5 (diff)
downloadslackbuilds-31cbbff3872f0acb9560746d125eaba6ccec4655.tar.gz
academic/calc: Switch to i586 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/calc/calc.SlackBuild')
-rw-r--r--academic/calc/calc.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/academic/calc/calc.SlackBuild b/academic/calc/calc.SlackBuild
index b55743f8d0..ac3872319e 100644
--- a/academic/calc/calc.SlackBuild
+++ b/academic/calc/calc.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
# Slackware build script for calc
+# Copyright 2017 Dhaby Xiloj <slack.dhabyx@gmail.com>
# Copyright 2008-2010 Grigorios Bouzakis <grbzks@xsmail.com>
# Copyright 2014 Glenn Becker <burningc@sdf.org>
# All rights reserved.
@@ -29,7 +30,7 @@ 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
@@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"