Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2022 06:10:52 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f3b510eb8212 - main - games/xray_re-tools: try to unbreak the port in "build-as-user" mode
Message-ID:  <202210260610.29Q6AqnG093043@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f3b510eb8212bcc4ff0c4da4ba5678d37e90388b

commit f3b510eb8212bcc4ff0c4da4ba5678d37e90388b
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-10-26 06:09:56 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-10-26 06:09:56 +0000

    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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210260610.29Q6AqnG093043>