summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-http-cookies/perl-http-cookies.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl/perl-http-cookies/perl-http-cookies.SlackBuild b/perl/perl-http-cookies/perl-http-cookies.SlackBuild
index 8097cc800a..9e06a3505c 100644
--- a/perl/perl-http-cookies/perl-http-cookies.SlackBuild
+++ b/perl/perl-http-cookies/perl-http-cookies.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 \