summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 23:18:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:44:53 +0700
commit3a31008363c74a6a771ed98bdb90474a77530002 (patch)
tree4199d1e6b4df16ad619c4140c96db3399b2e964e /games
parent3cbbf8c8d9dd5172b4a4ab686fdb6e05ef951cd5 (diff)
downloadslackbuilds-3a31008363c74a6a771ed98bdb90474a77530002.tar.gz
games/xmoto: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/xmoto/xmoto.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/xmoto/xmoto.SlackBuild b/games/xmoto/xmoto.SlackBuild
index 2c17ab0795..225478035b 100644
--- a/games/xmoto/xmoto.SlackBuild
+++ b/games/xmoto/xmoto.SlackBuild
@@ -52,7 +52,8 @@ find -L . \
mkdir -p build
cd build
- /opt/cmake-202x/bin/cmake \
+ export "PATH=/opt/cmake-202x/bin:$PATH"
+ cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \