aboutsummaryrefslogtreecommitdiff
path: root/games/antimicro/antimicro.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 16:41:19 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:30 +0000
commit408183b5e2257e258f879e3f037fdb374ed6329d (patch)
treeb29535b174fa587ef5725c0f8c77225d376b1199 /games/antimicro/antimicro.SlackBuild
parent494f552b3772b3f35044ec0f81f729bdc735cf62 (diff)
games/antimicro: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/antimicro/antimicro.SlackBuild')
-rw-r--r--games/antimicro/antimicro.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/antimicro/antimicro.SlackBuild b/games/antimicro/antimicro.SlackBuild
index 3a18b86f86a1..29ef09fb435a 100644
--- a/games/antimicro/antimicro.SlackBuild
+++ b/games/antimicro/antimicro.SlackBuild
@@ -18,7 +18,7 @@ MANDIR=${MANDIR:-/usr/man}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -29,8 +29,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"
@@ -73,7 +73,6 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Compress man pages
mkdir -p $PKG/$MANDIR
mv $PKG/usr/share/man/man1 $PKG/$MANDIR
rm -rf $PKG/usr/share/man