summaryrefslogtreecommitdiff
path: root/office/mdbtools/mdbtools.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 15:18:09 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:15 +0000
commitdd35858183c6f83d0d475a8a8ff2d3c287365735 (patch)
treef24459310afe226f2a9c9cfb298711f66f1b1703 /office/mdbtools/mdbtools.SlackBuild
parent9d74542979a929fe74be17643599b6ff736b3715 (diff)
downloadslackbuilds-dd35858183c6f83d0d475a8a8ff2d3c287365735.tar.gz
office/mdbtools: Remove template comment, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/mdbtools/mdbtools.SlackBuild')
-rw-r--r--office/mdbtools/mdbtools.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/office/mdbtools/mdbtools.SlackBuild b/office/mdbtools/mdbtools.SlackBuild
index 030d41ce82..19769a5cd4 100644
--- a/office/mdbtools/mdbtools.SlackBuild
+++ b/office/mdbtools/mdbtools.SlackBuild
@@ -31,7 +31,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
@@ -42,8 +42,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"
@@ -90,7 +90,6 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Compress man pages
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done