summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
author Andreas Voegele <andreas@andreasvoegele.com>2016-09-12 08:34:14 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-12 08:34:14 +0700
commit18bb8166c306641178424beea696522111a29d47 (patch)
tree274497522d5c7e828c73fd45cf4bcc7629a5b57d /perl
parent3692577ad318a97051e5b3bcda8b22d9ae175afc (diff)
downloadslackbuilds-18bb8166c306641178424beea696522111a29d47.tar.gz
slackbuilds-18bb8166c306641178424beea696522111a29d47.tar.xz
perl/perl-Module-Pluggable: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild11
-rw-r--r--perl/perl-Module-Pluggable/perl-Module-Pluggable.info2
2 files changed, 6 insertions, 7 deletions
diff --git a/perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild b/perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild
index ad686a6f31..68dee8673e 100644
--- a/perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild
+++ b/perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-Module-Pluggable
-# Copyright 2013-2015 Andreas Voegele <andreas@andreasvoegele.com>
+# Copyright 2013-2016 Andreas Voegele <andreas@andreasvoegele.com>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -18,14 +18,14 @@
PRGNAM=perl-Module-Pluggable
VERSION=${VERSION:-5.2}
-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"
@@ -68,7 +68,6 @@ find -L . \
\( -name Changes -o -name README -o -name '*.pm' \) -exec chmod 644 {} \;
perl Makefile.PL \
- PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
diff --git a/perl/perl-Module-Pluggable/perl-Module-Pluggable.info b/perl/perl-Module-Pluggable/perl-Module-Pluggable.info
index c88eb61bc9..ca07688f70 100644
--- a/perl/perl-Module-Pluggable/perl-Module-Pluggable.info
+++ b/perl/perl-Module-Pluggable/perl-Module-Pluggable.info
@@ -1,7 +1,7 @@
PRGNAM="perl-Module-Pluggable"
VERSION="5.2"
HOMEPAGE="https://metacpan.org/pod/Module::Pluggable"
-DOWNLOAD="http://www.cpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-5.2.tar.gz"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-5.2.tar.gz"
MD5SUM="87ce2971662efd0b69a81bb4dc9ea76c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""