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 | |
parent | 2eda0407303d8fe09b87580fdd7cb40f6f7c9908 (diff) |
games/gzdoom: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gzdoom')
-rw-r--r-- | games/gzdoom/gzdoom.SlackBuild | 3 | ||||
-rw-r--r-- | games/gzdoom/gzdoom.info | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/games/gzdoom/gzdoom.SlackBuild b/games/gzdoom/gzdoom.SlackBuild index 7f61d2a6218f..80cf5b5c8917 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 \ diff --git a/games/gzdoom/gzdoom.info b/games/gzdoom/gzdoom.info index fd272cf53217..80cd35a6af9e 100644 --- a/games/gzdoom/gzdoom.info +++ b/games/gzdoom/gzdoom.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/coelckers/gzdoom/archive/g4.5.0/gzdoom-g4.5.0.tar.g MD5SUM="64b0b98c6538a75626de3319653d6539" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="SDL2 OpenAL zmusic" +REQUIRES="SDL2 OpenAL zmusic cmake-202x" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" |