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 15:13:49 UTC 2024

Modified Files:
        pkgsrc/lang/rust-bin: Makefile

Log Message:
lang/rust-bin: Extend fix-darwin-install-name harder

In bin, cargo-clippy and rustfmt need @rpath remediation.

(PKG_DEVELOPER did not catch this, but @rpath leakage results in a
package that pkg_add will object to, in a way that cannot be
overriden.)


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 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.71 pkgsrc/lang/rust-bin/Makefile:1.72
--- pkgsrc/lang/rust-bin/Makefile:1.71  Thu Nov 28 14:49:48 2024
+++ pkgsrc/lang/rust-bin/Makefile       Thu Nov 28 15:13:49 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2024/11/28 14:49:48 gdt Exp $
+# $NetBSD: Makefile,v 1.72 2024/11/28 15:13:49 gdt Exp $
 
 DISTNAME=      rust-1.81.0
 PKGNAME=       ${DISTNAME:S/rust/rust-bin/1}
@@ -210,7 +210,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 rust-analyzer rustc rustdoc
+.  for bin in cargo-clippy clippy-driver miri rls rust-analyzer rustc rustdoc rustfmt
        otool -XL ${DESTDIR}${PREFIX}/bin/${bin}                        \
            | ${GREP} '@rpath' | while read rpath rest; do              \
                install_name_tool -change $$rpath                       \



Home | Main Index | Thread Index | Old Index