pkgsrc-WIP-changes archive

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

rust-bin: fix rpath for rust-analyzer



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sat Apr 20 13:47:47 2024 +0200
Changeset:	8e96fa64eb505b8bfc2a8c36311be92354f25da7

Modified Files:
	rust177-bin/Makefile

Log Message:
rust-bin: fix rpath for rust-analyzer

Reflect additions in main branch.

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

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

diffstat:
 rust177-bin/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/rust177-bin/Makefile b/rust177-bin/Makefile
index 24122fc821..9b90c6a60c 100644
--- a/rust177-bin/Makefile
+++ b/rust177-bin/Makefile
@@ -213,7 +213,7 @@ do-install:
 .PHONY: fix-darwin-install-name
 post-install: fix-darwin-install-name
 fix-darwin-install-name:
-.  for bin in clippy-driver miri rls rustc rustdoc
+.  for bin in clippy-driver miri rls rust-analyzer rustc rustdoc
 	otool -XL ${DESTDIR}${PREFIX}/bin/${bin}			\
 	    | ${GREP} '@rpath' | while read rpath rest; do		\
 		install_name_tool -change $$rpath			\
@@ -269,7 +269,7 @@ FORCE_RPATH=		--force-rpath
 .PHONY: fix-relative-rpath
 post-install: fix-relative-rpath
 fix-relative-rpath:
-.  for bin in clippy-driver miri rls rustc rustdoc
+.  for bin in clippy-driver miri rls rust-analyzer rustc rustdoc
 	if [ -f ${DESTDIR}${PREFIX}/bin/${bin} ]; then \
 		${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath \
 		    ${PREFIX}/lib ${DESTDIR}${PREFIX}/bin/${bin} ; \


Home | Main Index | Thread Index | Old Index