summaryrefslogtreecommitdiff
path: root/games/zsnes/zsnes.SlackBuild
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2010-05-12 17:39:43 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:39:43 +0200
commitb39caca362d0b11d3119c2fbd4c8b2edb9d3b409 (patch)
tree87ba00d0c5cecdaed4c35444e0a13dcd48858ac1 /games/zsnes/zsnes.SlackBuild
parent98cc6486f87251a68f3dfbc9a0a4486bc328a771 (diff)
downloadslackbuilds-b39caca362d0b11d3119c2fbd4c8b2edb9d3b409.tar.gz
games/zsnes: Updated for version 1.51
Diffstat (limited to 'games/zsnes/zsnes.SlackBuild')
-rw-r--r--games/zsnes/zsnes.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/zsnes/zsnes.SlackBuild b/games/zsnes/zsnes.SlackBuild
index da8fb4132c..993e2f0f52 100644
--- a/games/zsnes/zsnes.SlackBuild
+++ b/games/zsnes/zsnes.SlackBuild
@@ -26,7 +26,7 @@ VERSION=1.51
ZSNESSRC=151src
ZSNESDIR=_1_51
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -39,7 +39,8 @@ if [ "$ARCH" = "i486" ]; then
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ printf "\n Error: $PRGNAM won't compile on $ARCH \n \n"
+ exit 1
fi
set -e