diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 21:15:39 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:29:39 +0000 |
commit | 84f90766902d2054c288e04d1617c959ca090bd5 (patch) | |
tree | 1fc9de2c110145f60784a4c440a61da61790dd9e /perl/perl-Unix-Syslog | |
parent | 5ebddebaeb654372893268845aac957db51b9850 (diff) |
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>
Diffstat (limited to 'perl/perl-Unix-Syslog')
-rw-r--r-- | perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild | 8 |
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 43bd5580f988..8aeaa06fd631 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" |