pkgsrc-WIP-changes archive

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

rust185: remove use of patchelf, as suggested by riastradh@



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Fri Apr 4 22:47:58 2025 +0000
Changeset:	ee2e9c5ad4836c88d622328378de0a0277279fa0

Modified Files:
	rust185/Makefile

Log Message:
rust185: remove use of patchelf, as suggested by riastradh@

This was a misguided attempt at dealing with an upstream
issue for running the stage1 rust compiler from within the
build tree, and turns out it's not needed.  Ref.
https://mail-index.netbsd.org/pkgsrc-changes/2025/04/02/msg320497.html

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

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

diffstat:
 rust185/Makefile | 14 --------------
 1 file changed, 14 deletions(-)

diffs:
diff --git a/rust185/Makefile b/rust185/Makefile
index bca7a23512..1ea87dad1e 100644
--- a/rust185/Makefile
+++ b/rust185/Makefile
@@ -91,11 +91,6 @@ CHECK_SSP_SUPPORTED=	no
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "NetBSD"
-TOOL_DEPENDS+=		patchelf-[0-9]*:../../devel/patchelf
-FORCE_RPATH=		--force-rpath
-.endif
-
 # Allow overriding MAKE_JOBS_SAFE
 # some may chose to mostly build faster,
 # and deal with any failures due to deadlocks
@@ -581,15 +576,6 @@ do-test:
 	${SETENV} ${MAKE_ENV}						\
 		${TOOL_PYTHONBIN} ./x.py test -j ${_MAKE_JOBS_N}
 
-PATCH_BINARIES+=	bin/cargo
-PATCH_BINARIES+=	bin/cargo-clippy
-PATCH_BINARIES+=	bin/clippy-driver
-PATCH_BINARIES+=	bin/rust-analyzer
-PATCH_BINARIES+=	bin/rustc
-PATCH_BINARIES+=	bin/rustdoc
-PATCH_BINARIES+=	bin/rustfmt
-PATCH_BINARIES+=	libexec/rust-analyzer-proc-macro-srv
-
 OPSYSVARS+=	SOEXT
 SOEXT.Darwin=	dylib
 SOEXT.*=	so


Home | Main Index | Thread Index | Old Index