pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust-beta: keep comment in-sync with lang/rust
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Sat Apr 25 20:49:26 2026 +0200
Changeset: 031e814f89c5f039647bb1a5e61d21697d946e61
Modified Files:
rust-beta/Makefile
Log Message:
rust-beta: keep comment in-sync with lang/rust
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=031e814f89c5f039647bb1a5e61d21697d946e61
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust-beta/Makefile | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diffs:
diff --git a/rust-beta/Makefile b/rust-beta/Makefile
index b179ff87f7..9416f166ef 100644
--- a/rust-beta/Makefile
+++ b/rust-beta/Makefile
@@ -74,13 +74,17 @@ CHECK_SSP_SUPPORTED= no
.include "../../mk/bsd.prefs.mk"
-# Getting RPATH with $ORIGIN into the bootstrap binaries is problematic,
-# since pkgsrc refuses to put $ORIGIN into RPATHs 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.
+# Getting RPATH with $ORIGIN into the bootstrap binaries is
+# problematic, since pkgsrc refuses to put $ORIGIN into RPATHs
+# 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 upstream and uses $ORIGIN/../lib in RPATH.
+# which are built by our upstream and uses $ORIGIN/../lib in RPATH.
+#
+# The above is only true on NetBSD, for other bootstrap kits (e.g. illumos)
+# the binaries are made to be relocatable after the build using elfedit or
+# similar. It is unclear why this approach is not used by NetBSD too.
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