From a43f738b714679e5e3db54cefc8d50aaf9c1d3f9 Mon Sep 17 00:00:00 2001 From: Andreas Voegele Date: Mon, 12 Sep 2016 08:37:11 +0700 Subject: perl/perl-Term-UI: Switch to i586. Signed-off-by: Willy Sudiarto Raharjo --- perl/perl-Term-UI/perl-Term-UI.SlackBuild | 11 +++++------ perl/perl-Term-UI/perl-Term-UI.info | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'perl/perl-Term-UI') diff --git a/perl/perl-Term-UI/perl-Term-UI.SlackBuild b/perl/perl-Term-UI/perl-Term-UI.SlackBuild index 9cb4d1595b..c209862836 100644 --- a/perl/perl-Term-UI/perl-Term-UI.SlackBuild +++ b/perl/perl-Term-UI/perl-Term-UI.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Term-UI -# Copyright 2013-2015 Andreas Voegele +# Copyright 2013-2016 Andreas Voegele # # 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-Term-UI VERSION=${VERSION:-0.46} -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-Term-UI/perl-Term-UI.info b/perl/perl-Term-UI/perl-Term-UI.info index 4e0fd7fccb..e28121c45b 100644 --- a/perl/perl-Term-UI/perl-Term-UI.info +++ b/perl/perl-Term-UI/perl-Term-UI.info @@ -1,7 +1,7 @@ PRGNAM="perl-Term-UI" VERSION="0.46" HOMEPAGE="https://metacpan.org/pod/Term::UI" -DOWNLOAD="http://www.cpan.org/authors/id/B/BI/BINGOS/Term-UI-0.46.tar.gz" +DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Term-UI-0.46.tar.gz" MD5SUM="eaa9240bc44e18dfe558286eb1f3c592" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3