pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust178-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:49:14 2024 +0000
Changeset: 527fd4f406b496a883f3be3cb1d25183f6262140
Modified Files:
rust178-bin/Makefile
Log Message:
rust178-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=527fd4f406b496a883f3be3cb1d25183f6262140
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust178-bin/Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diffs:
diff --git a/rust178-bin/Makefile b/rust178-bin/Makefile
index 71ccd7ef7c..37662f692d 100644
--- a/rust178-bin/Makefile
+++ b/rust178-bin/Makefile
@@ -274,10 +274,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