diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 21:12:11 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:29:37 +0000 |
commit | daa9f1ffb6967b6cca634844a1efaab9b7d4382d (patch) | |
tree | 58f811b1f7dabfe4f45a7c453fc5502cfb7bcec3 | |
parent | 98480a2a710c9165912b5a67fe4e3fcb32d79c72 (diff) |
perl/perl-Text-Password-Pronounceable: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild b/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild index b229483458bb8..6dde686b1667c 100644 --- a/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild +++ b/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild @@ -36,7 +36,7 @@ SRCNAM=$( echo $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 @@ -47,8 +47,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" @@ -87,10 +87,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 |