From f3b510eb8212bcc4ff0c4da4ba5678d37e90388b Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 26 Oct 2022 06:09:56 +0000 Subject: games/xray_re-tools: try to unbreak the port in "build-as-user" mode For some reason, extracted nVidia Texture Tools copy cannot be patched in-place. Instead, create dummy configuration file within the port's own working directory. Reported by: pkg-fallout --- games/xray_re-tools/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/games/xray_re-tools/Makefile b/games/xray_re-tools/Makefile index 6267cb8bf449..7e162e8e333b 100644 --- a/games/xray_re-tools/Makefile +++ b/games/xray_re-tools/Makefile @@ -56,8 +56,7 @@ post-patch: post-configure: @${LN} -sf ${_NVTT_WRKSRC:sh}/src ${WRKSRC}/sources/3rd-party/nvtt - @${REINPLACE_CMD} -e '/#include "nvconfig\.h"/d' \ - ${WRKSRC}/sources/3rd-party/nvtt/nvcore/nvcore.h + @${ECHO_CMD} > ${WRKSRC}/sources/xray_re/nvconfig.h do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/converter \ -- cgit v1.2.3