From 4d57b07b74175ff322d148f74d8e101dd296c1c6 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 21 Mar 2017 21:29:23 -0400 Subject: perl/perl-html-form: i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- perl/perl-html-form/perl-html-form.SlackBuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'perl') diff --git a/perl/perl-html-form/perl-html-form.SlackBuild b/perl/perl-html-form/perl-html-form.SlackBuild index 6998fd3aa4..47f647c66a 100644 --- a/perl/perl-html-form/perl-html-form.SlackBuild +++ b/perl/perl-html-form/perl-html-form.SlackBuild @@ -33,7 +33,7 @@ SRCNAM=HTML-Form if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,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" @@ -88,11 +88,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr 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 -# Remove perllocal.pod and other special files that don't need to be installed, -# as they will overwrite what's already on the system find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true -# Remove empty directories find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3