diff options
Diffstat (limited to 'perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild')
-rw-r--r-- | perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild index ad31a82c5079..9559fb191599 100644 --- a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild +++ b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-ExtUtils-Install. # -# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-ExtUtils-Install -VERSION=${VERSION:-2.04} +VERSION=${VERSION:-2.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,7 +31,7 @@ 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 @@ -42,8 +42,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" @@ -85,7 +85,6 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true - find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |