diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-10 01:32:20 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-17 08:44:55 +0700 |
commit | 232c90f7f016e988f0849ae0acf1b9282d5e9759 (patch) | |
tree | cc64902aee735dcd8bd506be5413557875f8606e /games/gzdoom/gzdoom.SlackBuild | |
parent | 2eda0407303d8fe09b87580fdd7cb40f6f7c9908 (diff) |
games/gzdoom: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gzdoom/gzdoom.SlackBuild')
-rw-r--r-- | games/gzdoom/gzdoom.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/gzdoom/gzdoom.SlackBuild b/games/gzdoom/gzdoom.SlackBuild index 7f61d2a6218fa..80cf5b5c8917a 100644 --- a/games/gzdoom/gzdoom.SlackBuild +++ b/games/gzdoom/gzdoom.SlackBuild @@ -105,7 +105,8 @@ sed -i '1i#include <cmath>' \ mkdir -p build cd build - /opt/cmake-202x/bin/cmake \ + export "PATH=/opt/cmake-202x/bin:$PATH" + cmake \ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -DSHARE_DIR=\\\"/usr/share/games/doom\\\"" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DSHARE_DIR=\\\"/usr/share/games/doom\\\"" \ -DINSTALL_DOCS_PATH=doc/$PRGNAM-$VERSION \ |