From 49077837427ef858f39733802f06d510f1566f44 Mon Sep 17 00:00:00 2001 From: Donald Cooley Date: Fri, 20 Jan 2017 11:02:27 +0000 Subject: perl/perl-common-sense: Updated for version 3.74. Signed-off-by: David Spencer --- perl/perl-common-sense/perl-common-sense.SlackBuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'perl/perl-common-sense/perl-common-sense.SlackBuild') diff --git a/perl/perl-common-sense/perl-common-sense.SlackBuild b/perl/perl-common-sense/perl-common-sense.SlackBuild index 3455af6601017..f6dafa4c90191 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 -- cgit v1.2.3