diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-17 23:32:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-17 23:32:59 +0700 |
commit | 4f5b33a9bcff3c44de43755b786df1efdae550c3 (patch) | |
tree | 7069eeb37804ba74b421e94c0ca623f61b0d2ebd | |
parent | bd0f590aa20580d4fd8e02783ba1e4adafb7d86e (diff) | |
download | slackbuilds-4f5b33a9bcff3c44de43755b786df1efdae550c3.tar.gz |
perl/perl-Cairo-GObject: Update to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild | 12 |
1 files 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 |