summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 00:28:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 03:36:46 +0700
commite4b2adda9d549323cfc7a1bbb6a29b4147189c87 (patch)
tree947486ef40849fd4a0ddf9640b71af19eba72cbe /games
parentfcd41fc0d40cfc4d7765f1eb44eff2f71eec70a6 (diff)
downloadslackbuilds-e4b2adda9d549323cfc7a1bbb6a29b4147189c87.tar.gz
games/megaglest: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/megaglest/megaglest.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/megaglest/megaglest.SlackBuild b/games/megaglest/megaglest.SlackBuild
index 44caa9402f..a2db4a23a3 100644
--- a/games/megaglest/megaglest.SlackBuild
+++ b/games/megaglest/megaglest.SlackBuild
@@ -82,11 +82,11 @@ mkdir build
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DWANT_SVN_STAMP=OFF \
+ -DWANT_GIT_STAMP=OFF \
-DMEGAGLEST_BIN_INSTALL_PATH:PATH="games/" \
-DMEGAGLEST_MANPAGE_INSTALL_PATH:PATH="man/man6/" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lX11" \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1