summaryrefslogtreecommitdiff
path: root/games/jag/jag.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-07-28 23:06:09 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-07-28 23:06:09 -0500
commite7756c8dd15443a3dff44c787e075f2cc42a045f (patch)
tree8b718fa7c4df1a76a795e756b880ccc8219e532e /games/jag/jag.SlackBuild
parent22e45a74065bbc2cfaa790890ff09ad59ef374cf (diff)
downloadslackbuilds-e7756c8dd15443a3dff44c787e075f2cc42a045f.tar.gz
games/jag: add missing X11 linker flag for gcc 4.7
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/jag/jag.SlackBuild')
-rw-r--r--games/jag/jag.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/jag/jag.SlackBuild b/games/jag/jag.SlackBuild
index b9bafeb3e1..46949d3667 100644
--- a/games/jag/jag.SlackBuild
+++ b/games/jag/jag.SlackBuild
@@ -5,8 +5,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=jag
-VERSION=0.3.2
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.3.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -62,7 +62,7 @@ sed -i \
-e 's|/usr/local/games|/usr/share|g' \
Game.pro main.cpp editor/editor.pro
-qmake -o Makefile Game.pro
+qmake LIBS+=-lX11 -o Makefile Game.pro
make \
CFLAGS="-pipe $SLKCFLAGS -Wall -W -D_REENTRANT \$(DEFINES)" \
CXXFLAGS="-pipe $SLKCFLAGS -Wall -W -D_REENTRANT \$(DEFINES)"