summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 21:15:39 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:39 +0000
commit84f90766902d2054c288e04d1617c959ca090bd5 (patch)
tree1fc9de2c110145f60784a4c440a61da61790dd9e
parent5ebddebaeb654372893268845aac957db51b9850 (diff)
downloadslackbuilds-84f90766902d2054c288e04d1617c959ca090bd5.tar.gz
perl/perl-Unix-Syslog: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild b/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild
index 43bd5580f9..8aeaa06fd6 100644
--- a/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild
+++ b/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild
@@ -28,13 +28,13 @@
SRCNAM=Unix-Syslog
PRGNAM=perl-Unix-Syslog
-VERSION=1.1
+VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -49,8 +49,8 @@ set -e
DOCS="README Changes Artistic"
-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"