summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 23:17:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:44:53 +0700
commit3cbbf8c8d9dd5172b4a4ab686fdb6e05ef951cd5 (patch)
treede2ef0678c5aee2af9cf332ade4464e709dccdec /games
parent451d8125965064eb56941128337d505cb54de95f (diff)
downloadslackbuilds-3cbbf8c8d9dd5172b4a4ab686fdb6e05ef951cd5.tar.gz
games/commandergenius: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/commandergenius/commandergenius.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/commandergenius/commandergenius.SlackBuild b/games/commandergenius/commandergenius.SlackBuild
index 9fa4859739..e9d54284c6 100644
--- a/games/commandergenius/commandergenius.SlackBuild
+++ b/games/commandergenius/commandergenius.SlackBuild
@@ -89,7 +89,8 @@ sed -i 's,Application;,,' share/$DESKTOP
mkdir -p build
cd build
- /opt/cmake-202x/bin/cmake \
+ export "PATH=/opt/cmake-202x/bin:$PATH"
+ cmake \
-DUSE_SDL2=yes \
-DGAMES_SHAREDIR:STRING=/usr/share/games \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \