summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2016-09-12 08:34:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-12 08:34:56 +0700
commitcb2804f46e118cd048715397ba0404982cefd73d (patch)
tree861a02ae98f43c9ea5811f035b28a33193023562 /perl
parent18bb8166c306641178424beea696522111a29d47 (diff)
downloadslackbuilds-cb2804f46e118cd048715397ba0404982cefd73d.tar.gz
perl/perl-Object-Accessor: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild9
-rw-r--r--perl/perl-Object-Accessor/perl-Object-Accessor.info2
2 files changed, 5 insertions, 6 deletions
diff --git a/perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild b/perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild
index 217f0bbdca..530cdd9e37 100644
--- a/perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild
+++ b/perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild
@@ -18,14 +18,14 @@
PRGNAM=perl-Object-Accessor
VERSION=${VERSION:-0.48}
-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
diff --git a/perl/perl-Object-Accessor/perl-Object-Accessor.info b/perl/perl-Object-Accessor/perl-Object-Accessor.info
index 251cbefcb9..481a329383 100644
--- a/perl/perl-Object-Accessor/perl-Object-Accessor.info
+++ b/perl/perl-Object-Accessor/perl-Object-Accessor.info
@@ -1,7 +1,7 @@
PRGNAM="perl-Object-Accessor"
VERSION="0.48"
HOMEPAGE="https://metacpan.org/pod/Object::Accessor"
-DOWNLOAD="http://www.cpan.org/authors/id/B/BI/BINGOS/Object-Accessor-0.48.tar.gz"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Object-Accessor-0.48.tar.gz"
MD5SUM="46a3ce50d8817938cecbb8e02eda9500"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""