summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 21:31:43 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:43 +0000
commit1c15fed5ef2ccc5d1ca0e10859f3457b7c4302e9 (patch)
tree4fdc8b3e6d43bbda11953ab0863754b7e5caa31c /perl
parentc920f5efadaf3ed90589a9345e50b120238fd3a0 (diff)
downloadslackbuilds-1c15fed5ef2ccc5d1ca0e10859f3457b7c4302e9.tar.gz
perl/perl-lwp-mediatypes: 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-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild b/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild
index 67f7c80b51..6b36de2d69 100644
--- a/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild
+++ b/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.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 \