summaryrefslogtreecommitdiff
path: root/perl/perl-Log-Message/perl-Log-Message.SlackBuild
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2016-09-12 08:32:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-12 08:32:41 +0700
commitdeffa8e62408a79eb1a5f75945ff543490cbc3c5 (patch)
tree2e8abf75497c5e513ba5c5e04e1b63e9b79e8686 /perl/perl-Log-Message/perl-Log-Message.SlackBuild
parent7bece80434a6a49305def2dfedf925800a445154 (diff)
downloadslackbuilds-deffa8e62408a79eb1a5f75945ff543490cbc3c5.tar.gz
perl/perl-Log-Message: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Log-Message/perl-Log-Message.SlackBuild')
-rw-r--r--perl/perl-Log-Message/perl-Log-Message.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/perl/perl-Log-Message/perl-Log-Message.SlackBuild b/perl/perl-Log-Message/perl-Log-Message.SlackBuild
index 4d39a6bcb8..ff070f557e 100644
--- a/perl/perl-Log-Message/perl-Log-Message.SlackBuild
+++ b/perl/perl-Log-Message/perl-Log-Message.SlackBuild
@@ -18,14 +18,14 @@
PRGNAM=perl-Log-Message
VERSION=${VERSION:-0.08}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
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
@@ -36,8 +36,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"
@@ -66,7 +66,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL \
- PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3