pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust177-bin: Also tweak rpath of rust-analyzer-pro-macro-srv.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Thu Aug 8 14:44:59 2024 +0000
Changeset: a84a1c34cf43e6253727fdc67be1ed927f2a5a33
Modified Files:
rust177-bin/Makefile
Log Message:
rust177-bin: Also tweak rpath of rust-analyzer-pro-macro-srv.
Should fix packaging on NetBSD/amd64, Linux and FreeBSD.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a84a1c34cf43e6253727fdc67be1ed927f2a5a33
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust177-bin/Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diffs:
diff --git a/rust177-bin/Makefile b/rust177-bin/Makefile
index 9b90c6a60c..3205b49cb3 100644
--- a/rust177-bin/Makefile
+++ b/rust177-bin/Makefile
@@ -269,10 +269,11 @@ FORCE_RPATH= --force-rpath
.PHONY: fix-relative-rpath
post-install: fix-relative-rpath
fix-relative-rpath:
-. for bin in clippy-driver miri rls rust-analyzer rustc rustdoc
- if [ -f ${DESTDIR}${PREFIX}/bin/${bin} ]; then \
+. for bin in bin/clippy-driver bin/miri bin/rls bin/rust-analyzer \
+ bin/rustc bin/rustdoc libexec/rust-analyzer-proc-macro-srv
+ if [ -f ${DESTDIR}${PREFIX}/${bin} ]; then \
${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath \
- ${PREFIX}/lib ${DESTDIR}${PREFIX}/bin/${bin} ; \
+ ${PREFIX}/lib ${DESTDIR}${PREFIX}/${bin} ; \
fi
. endfor
# Only Linux builds link these binaries against an LLVM library
Home |
Main Index |
Thread Index |
Old Index