summaryrefslogtreecommitdiff
path: root/perl/perl-common-sense/perl-common-sense.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2017-01-20 11:02:27 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-21 07:04:35 +0700
commit49077837427ef858f39733802f06d510f1566f44 (patch)
tree061e069f97a6e0c224abf68b54500f85cff7c78a /perl/perl-common-sense/perl-common-sense.SlackBuild
parentd0d2a985df2a85f7a68c1cb0294dee5299e155d8 (diff)
downloadslackbuilds-49077837427ef858f39733802f06d510f1566f44.tar.gz
perl/perl-common-sense: Updated for version 3.74.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-common-sense/perl-common-sense.SlackBuild')
-rw-r--r--perl/perl-common-sense/perl-common-sense.SlackBuild11
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