diff options
Diffstat (limited to 'perl/perl-common-sense/perl-common-sense.SlackBuild')
-rw-r--r-- | perl/perl-common-sense/perl-common-sense.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/perl/perl-common-sense/perl-common-sense.SlackBuild b/perl/perl-common-sense/perl-common-sense.SlackBuild index 3455af6601..f6dafa4c90 100644 --- a/perl/perl-common-sense/perl-common-sense.SlackBuild +++ b/perl/perl-common-sense/perl-common-sense.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for perl-common-sense # Copyright 2013 Donald Cooley La Porte, IN USA +# Copyright 2017 Donald Cooley South Haven, IN USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-common-sense -VERSION=${VERSION:-3.72} +VERSION=${VERSION:-3.74} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,7 +32,7 @@ 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 @@ -42,8 +43,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" @@ -56,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |