pkgsrc-WIP-changes archive

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

rust186: Point out that the need for MAKE_ENV is for non-amd64.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Thu Apr 10 20:29:43 2025 +0000
Changeset:	4dde8ca4cb5443ab510bf4a43b3dbe99c411fafc

Modified Files:
	rust186/Makefile

Log Message:
rust186: Point out that the need for MAKE_ENV is for non-amd64.

This is because our upstream builds the amd64 bootstrap kits,
and these have $ORIGIN/../lib in RPATH.

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

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

diffstat:
 rust186/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/rust186/Makefile b/rust186/Makefile
index 9541cffd6e..8caa0dd994 100644
--- a/rust186/Makefile
+++ b/rust186/Makefile
@@ -64,6 +64,8 @@ CONFIGURE_ARGS+=	${ADD_CONFIGURE_ARGS}
 # of executables. So instead we need these so that the bootstrap
 # compiler can be run out of the $RUST_BOOTSTRAP_PATH directory as
 # part of the initial part of the rust compiler build.
+# This problem is not present with the amd64 bootstrap bits,
+# which are built by our upstream and uses $ORIGIN/../lib in RPATH.
 MAKE_ENV+=		LD_LIBRARY_PATH=${RUST_BOOTSTRAP_PATH:Q}/lib
 PKGSRC_MAKE_ENV+=	LD_LIBRARY_PATH=${RUST_BOOTSTRAP_PATH:Q}/lib
 


Home | Main Index | Thread Index | Old Index