aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 21:30:54 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:42 +0000
commitc2b9c5ee0f5adb04b8cf96840d3fc37e34fbe16a (patch)
treeb25e92be5730984711c9dd7eecdb1400a832a56a /perl/perl-http-server-simple/perl-http-server-simple.SlackBuild
parentb0be061761125b024dd3b6262a784666b9f10a30 (diff)
perl/perl-http-server-simple: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-http-server-simple/perl-http-server-simple.SlackBuild')
-rw-r--r--perl/perl-http-server-simple/perl-http-server-simple.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild b/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild
index ab4f145fbd445..90b5ffd7bad75 100644
--- a/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild
+++ b/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild
@@ -33,7 +33,7 @@ SRCNAM=HTTP-Server-Simple
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 @@ 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"
@@ -88,11 +88,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -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,
-# as they will overwrite what's already on the system
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