diff options
Diffstat (limited to 'perl/perl-Mojolicious/perl-Mojolicious.SlackBuild')
-rw-r--r-- | perl/perl-Mojolicious/perl-Mojolicious.SlackBuild | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild b/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild index 8642f9d766..0ab7d8dfe8 100644 --- a/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild +++ b/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for perl-Mojolicious # Copyright 2017-2019 Andreas Guldstrand. +# Copyright 2023 Kevin Bryant # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Mojolicious -VERSION=${VERSION:-9.31} +VERSION=${VERSION:-9.32} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -33,11 +34,7 @@ PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac + ARCH="noarch" fi # If the variable PRINT_PACKAGE_NAME is set, then this script will report what @@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG |