Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-ports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-10-26 09:09:56 +0300
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-10-26 09:09:56 +0300
commitf3b510eb8212bcc4ff0c4da4ba5678d37e90388b (patch)
tree1a405a79efc01c4b39536a4f7845a03710926543 /games
parent50aa881b0c4b6a192d32fe18fcd28a746c826dc8 (diff)
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
Diffstat (limited to 'games')
-rw-r--r--games/xray_re-tools/Makefile3
1 files changed, 1 insertions, 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 \