aboutsummaryrefslogtreecommitdiff
path: root/python/python-pyspf/python-pyspf.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:15:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:58 +0700
commit160749176abd9254d586aad2ea54b6ad2d84f454 (patch)
tree2b77d53a5dea4068d4a9d4c15dfd1fe8638c898b /python/python-pyspf/python-pyspf.SlackBuild
parentf0210b0cce4e739336b61d514481c4e0658ea3ba (diff)
python/python-pyspf: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-pyspf/python-pyspf.SlackBuild')
-rw-r--r--python/python-pyspf/python-pyspf.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/python-pyspf/python-pyspf.SlackBuild b/python/python-pyspf/python-pyspf.SlackBuild
index 2679dbe642471..942d854a78777 100644
--- a/python/python-pyspf/python-pyspf.SlackBuild
+++ b/python/python-pyspf/python-pyspf.SlackBuild
@@ -31,7 +31,7 @@ ORIGNAM=$(echo $PRGNAM | cut -f2 -d-)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,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"