pkgsrc-WIP-changes archive

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

rust194: fix installation on Darwin



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <adam%defguard.net@localhost>
Pushed By:	adam
Date:		Sun Mar 8 11:25:49 2026 +0100
Changeset:	ac70ba00c3653f20d4599f27c66201d4720399b8

Modified Files:
	rust194/Makefile

Log Message:
rust194: fix installation on Darwin

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

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

diffstat:
 rust194/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/rust194/Makefile b/rust194/Makefile
index c056adeba4..5dfc1e2d2c 100644
--- a/rust194/Makefile
+++ b/rust194/Makefile
@@ -667,7 +667,8 @@ do-install:
 		${TOOL_PYTHONBIN} ./x.py install -j ${_MAKE_JOBS_N}
 .if ${OPSYS} == "Darwin"
 	cd ${DESTDIR}${PREFIX}/lib && \
-	for lib in rustlib/*/lib/libstd-*.${SHLIB_EXT}; do \
+	for lib in rustlib/*/lib/lib*.${SHLIB_EXT}; do \
+		install_name_tool -id ${PREFIX}/lib/$${lib##*/} $${lib}; \
 		${LN} -f $${lib} $${lib##*/}; \
 	done
 .endif


Home | Main Index | Thread Index | Old Index