summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Niels Horn2012-09-17 03:44:05 +0200
committer Robby Workman2012-09-17 06:31:56 +0200
commit90005ad2bfabcba5ef22c72e509c4ca7b9fc44ff (patch)
tree7833e4e5bb4a3e5fd62dda1a050344050fd591ab /games
parent2f47ddb87f2ff1eed83366ed8fb16ed502c4c17a (diff)
downloadslackbuilds-90005ad2bfabcba5ef22c72e509c4ca7b9fc44ff.tar.gz
games/angband: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/angband/angband.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild
index 5b89130e95..5f1cb20cf0 100644
--- a/games/angband/angband.SlackBuild
+++ b/games/angband/angband.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=angband
VERSION=v3.3.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -50,6 +50,7 @@ chmod -R u+w,go+r-w,a-s .
# --enable-gtk and setgid are incompatible, so we'll not build the gtk part
CFLAGS="$SLKCFLAGS" \
+LDFLAGS="-lSDL" \
./configure \
--prefix=/usr \
--with-libpath=/usr/share/games/angband \