summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 21:16:51 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:40 +0000
commit151dedad1a668e0625036fbcade4cbb9bd12dfba (patch)
treed02a73b68dde4ccf008468100b0d161c3be96268
parent37bd453498861abab56e1ea4ec60a0f5d725dcaa (diff)
downloadslackbuilds-151dedad1a668e0625036fbcade4cbb9bd12dfba.tar.gz
perl/perl-encode-locale: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--perl/perl-encode-locale/perl-encode-locale.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl/perl-encode-locale/perl-encode-locale.SlackBuild b/perl/perl-encode-locale/perl-encode-locale.SlackBuild
index 333ee04346..045da856b4 100644
--- a/perl/perl-encode-locale/perl-encode-locale.SlackBuild
+++ b/perl/perl-encode-locale/perl-encode-locale.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -66,10 +66,8 @@ make
make test
make install DESTDIR=$PKG
-# 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 -exec rm -rf {} \;
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \