pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust185-bin: do not install rust-objcopy on non-Darwin
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue Apr 1 09:52:29 2025 +0200
Changeset: 3b7c7a5dc0a24e7b1a505e3587ca3d42ee9f937d
Modified Files:
rust185-bin/Makefile
Log Message:
rust185-bin: do not install rust-objcopy on non-Darwin
The upstream binary packages contain the wrong architecture binary of
this program, but it's only needed on macOS.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3b7c7a5dc0a24e7b1a505e3587ca3d42ee9f937d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust185-bin/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diffs:
diff --git a/rust185-bin/Makefile b/rust185-bin/Makefile
index f891f3bd99..081fa3a144 100644
--- a/rust185-bin/Makefile
+++ b/rust185-bin/Makefile
@@ -291,6 +291,10 @@ fix-relative-rpath:
${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath ${PREFIX}/lib $$f; \
done
. endfor
+# wrong architecture binary distributed, unused except on macOS
+# https://github.com/rust-lang/rust/issues/139195
+# https://github.com/rust-lang/rust/issues/138943
+ ${RM} -f ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/rust-objcopy
.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index