From 232c90f7f016e988f0849ae0acf1b9282d5e9759 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 10 Jan 2021 01:32:20 +0700 Subject: games/gzdoom: Do not use hardcoded path. Signed-off-by: Willy Sudiarto Raharjo --- games/gzdoom/gzdoom.SlackBuild | 3 ++- 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 7f61d2a621..80cf5b5c89 100644 --- a/games/gzdoom/gzdoom.SlackBuild +++ b/games/gzdoom/gzdoom.SlackBuild @@ -105,7 +105,8 @@ sed -i '1i#include ' \ 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 fd272cf532..80cd35a6af 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" -- cgit v1.2.3