summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 21:29:05 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:41 +0000
commit30c4eaef9f878847ac9acf442b194cd199847592 (patch)
tree32395f62684465b440f007fd8344b938f55773a1 /perl
parentbc7bcbb278bf095370d662f2281b9aad125815cb (diff)
downloadslackbuilds-30c4eaef9f878847ac9acf442b194cd199847592.tar.gz
perl/perl-goo-canvas: 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-goo-canvas/perl-goo-canvas.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild b/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild
index 11c88567e7..afa5b07832 100644
--- a/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild
+++ b/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild
@@ -33,7 +33,7 @@ SRCNAM=Goo-Canvas
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"
@@ -91,11 +91,8 @@ rm -rf $PKG/usr/share
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