pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rust184: Use TOOL_PYTHONBIN, not PYTHONBIN.



Module Name:	pkgsrc-wip
Committed By:	Taylor R Campbell <riastradh%NetBSD.org@localhost>
Pushed By:	riastradh
Date:		Wed Feb 5 21:11:16 2025 +0000
Changeset:	b2fa66c80cf4de88a8a5d317db1b60fda1bd930c

Modified Files:
	rust184/Makefile

Log Message:
rust184: Use TOOL_PYTHONBIN, not PYTHONBIN.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b2fa66c80cf4de88a8a5d317db1b60fda1bd930c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust184/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diffs:
diff --git a/rust184/Makefile b/rust184/Makefile
index dbfbbf4dab..cf60130ce6 100644
--- a/rust184/Makefile
+++ b/rust184/Makefile
@@ -538,12 +538,12 @@ do-build:
 	${SETENV} ${MAKE_ENV}						\
 	sh -c "if [ \"${BUILD_TARGET}\" = \"dist\" ]; then		\
 		unset DESTDIR;						\
-		${PYTHONBIN} ./x.py 					\
+		${TOOL_PYTHONBIN} ./x.py				\
 		    ${BUILD_TARGET} -j ${_MAKE_JOBS_N};			\
 	else								\
-		${PYTHONBIN} ./x.py					\
+		${TOOL_PYTHONBIN} ./x.py				\
 		    ${BUILD_TARGET} --stage 2 -j ${_MAKE_JOBS_N} &&	\
-		${PYTHONBIN} ./x.py					\
+		${TOOL_PYTHONBIN} ./x.py				\
 		    doc --stage 2 -j ${_MAKE_JOBS_N};			\
 	fi"
 
@@ -551,7 +551,7 @@ do-test:
 	${RUN}${_ULIMIT_CMD}						\
 	cd ${WRKSRC} &&							\
 	${SETENV} ${MAKE_ENV}						\
-		${PYTHONBIN} ./x.py test -j ${_MAKE_JOBS_N}
+		${TOOL_PYTHONBIN} ./x.py test -j ${_MAKE_JOBS_N}
 
 PATCH_BINARIES+=	bin/cargo
 PATCH_BINARIES+=	bin/cargo-clippy
@@ -566,7 +566,7 @@ do-install:
 	${RUN}${_ULIMIT_CMD}						\
 	cd ${WRKSRC} &&							\
 	${SETENV} ${MAKE_ENV} ${INSTALL_ENV} 				\
-		${PYTHONBIN} ./x.py install -j ${_MAKE_JOBS_N}
+		${TOOL_PYTHONBIN} ./x.py install -j ${_MAKE_JOBS_N}
 .if ${OPSYS} == "NetBSD"
 	for bin in ${PATCH_BINARIES}; do				\
 		f=${DESTDIR}${PREFIX}/$${bin};				\


Home | Main Index | Thread Index | Old Index