aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 21:14:04 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:38 +0000
commit5fe338f74916b31fe5e92ee776686616c83b5cf8 (patch)
tree53a7640b98dae28982ef65e02b3559fd223caa3f /perl
parenta40be473c5fda08f7f69c20c3ef94f9223760501 (diff)
perl/perl-Tie-IxHash: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild b/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild
index 0a267db223de5..53ce3048a00b1 100644
--- a/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild
+++ b/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild
@@ -31,7 +31,7 @@ SRC_PRGNAM=Tie-IxHash
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 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="Changes README"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -79,7 +79,6 @@ mv $PKG/usr/share/man $PKG/usr/
for i in $( find . -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
( cd $PKG
find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
find . -depth -type d -empty -delete