From 4f5b33a9bcff3c44de43755b786df1efdae550c3 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 17 May 2019 23:32:59 +0700 Subject: [PATCH] perl/perl-Cairo-GObject: Update to i586. Signed-off-by: Willy Sudiarto Raharjo --- .../perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild b/perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild index cc0df9c77e..d75924fd40 100644 --- a/perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild +++ b/perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild @@ -31,19 +31,19 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +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" @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT