summaryrefslogtreecommitdiffstats
path: root/perl/perl-Locale-Maketext-Lexicon
diff options
context:
space:
mode:
author B. Watson2017-03-22 01:59:05 +0100
committer David Spencer2017-03-25 14:29:29 +0100
commitc5b9bd3fe47f16edad72aec45f7f23dc9f16a31e (patch)
treec7e0e46c5eee8be0c986c7d03ddcf9c50f32e8a4 /perl/perl-Locale-Maketext-Lexicon
parent97aef024d267163bac88b5dfd3a4d1010327414e (diff)
downloadslackbuilds-c5b9bd3fe47f16edad72aec45f7f23dc9f16a31e.tar.gz
perl/perl-Locale-Maketext-Lexicon: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-Locale-Maketext-Lexicon')
-rw-r--r--perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild b/perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild
index d156ffe421..2642206604 100644
--- a/perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild
+++ b/perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild
@@ -34,7 +34,7 @@ SRCNAM=Locale-Maketext-Lexicon
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,8 +45,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"
@@ -86,10 +86,8 @@ make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
-# Remove perllocal.pod and other special files that don't need to be installed
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