aboutsummaryrefslogtreecommitdiff
path: root/games/commandergenius
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/commandergenius
parent451d8125965064eb56941128337d505cb54de95f (diff)
games/commandergenius: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/commandergenius')
-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 9fa485973909f..e9d54284c6ffc 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" \