summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-10-26 06:09:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-10-26 06:09:56 +0000
commitf3b510eb8212bcc4ff0c4da4ba5678d37e90388b (patch)
tree1a405a79efc01c4b39536a4f7845a03710926543
parentsysutils/fusefs-ntfs: do not mention every supported Windows version (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
-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 \