pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/rust-bin
Module Name: pkgsrc
Committed By: gdt
Date: Thu Nov 28 14:49:49 UTC 2024
Modified Files:
pkgsrc/lang/rust-bin: Makefile
Log Message:
lang/rust-bin: Extend fix-darwin-install-name
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/lang/rust-bin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/rust-bin/Makefile
diff -u pkgsrc/lang/rust-bin/Makefile:1.70 pkgsrc/lang/rust-bin/Makefile:1.71
--- pkgsrc/lang/rust-bin/Makefile:1.70 Sun Nov 24 16:50:13 2024
+++ pkgsrc/lang/rust-bin/Makefile Thu Nov 28 14:49:48 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2024/11/24 16:50:13 he Exp $
+# $NetBSD: Makefile,v 1.71 2024/11/28 14:49:48 gdt Exp $
DISTNAME= rust-1.81.0
PKGNAME= ${DISTNAME:S/rust/rust-bin/1}
@@ -218,6 +218,14 @@ fix-darwin-install-name:
${DESTDIR}${PREFIX}/bin/${bin}; \
done
. endfor
+. for libexec in rust-analyzer-proc-macro-srv
+ otool -XL ${DESTDIR}${PREFIX}/libexec/${libexec} \
+ | ${GREP} '@rpath' | while read rpath rest; do \
+ install_name_tool -change $$rpath \
+ `${ECHO} $$rpath | ${SED} -e 's,@rpath,${PREFIX}/lib,g'` \
+ ${DESTDIR}${PREFIX}/libexec/${libexec}; \
+ done
+. endfor
. for bin in lldb lldb-mi llvm-nm llvm-objcopy llvm-objdump \
llvm-profdata llvm-readobj llvm-size llvm-strip
otool -XL ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin} \
Home |
Main Index |
Thread Index |
Old Index