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:   minskim
Date:           Tue Dec 27 21:26:59 UTC 2022

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

Log Message:
lang/rust-bin: Add support for Darwin-*-aarch64


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/lang/rust-bin/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/rust-bin/distinfo

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.46 pkgsrc/lang/rust-bin/Makefile:1.47
--- pkgsrc/lang/rust-bin/Makefile:1.46  Sun Dec 11 20:21:08 2022
+++ pkgsrc/lang/rust-bin/Makefile       Tue Dec 27 21:26:59 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2022/12/11 20:21:08 he Exp $
+# $NetBSD: Makefile,v 1.47 2022/12/27 21:26:59 minskim Exp $
 
 DISTNAME=      rust-1.64.0
 PKGNAME=       ${DISTNAME:S/rust/rust-bin/1}
@@ -14,6 +14,7 @@ LICENSE=      mit OR apache-2.0
 CONFLICTS+=    rust-[0-9]*
 
 # Rust upstream provided binaries
+ONLY_FOR_PLATFORM+=    Darwin-*-aarch64
 ONLY_FOR_PLATFORM+=    Darwin-*-x86_64
 ONLY_FOR_PLATFORM+=    FreeBSD-*-x86_64
 ONLY_FOR_PLATFORM+=    NetBSD-*-x86_64
@@ -60,6 +61,10 @@ DISTFILES:=  # empty
 
 # Rust upstream provided binaries
 
+.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) || make(distinfo) || make(makesum) || make(mdi)
+RUST_ARCH:=    aarch64-apple-darwin
+DISTFILES:=    ${DISTFILES} ${DISTNAME}-${RUST_ARCH}.tar.gz
+.endif
 .if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make(makesum) || make(mdi)
 RUST_ARCH:=    x86_64-apple-darwin
 DISTFILES:=    ${DISTFILES} ${DISTNAME}-${RUST_ARCH}.tar.gz

Index: pkgsrc/lang/rust-bin/distinfo
diff -u pkgsrc/lang/rust-bin/distinfo:1.22 pkgsrc/lang/rust-bin/distinfo:1.23
--- pkgsrc/lang/rust-bin/distinfo:1.22  Sun Dec 11 20:21:08 2022
+++ pkgsrc/lang/rust-bin/distinfo       Tue Dec 27 21:26:59 2022
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.22 2022/12/11 20:21:08 he Exp $
+$NetBSD: distinfo,v 1.23 2022/12/27 21:26:59 minskim Exp $
 
+BLAKE2s (rust-bin-1.64.0/rust-1.64.0-aarch64-apple-darwin.tar.gz) = 22c3a7016f235e2d29825f371976cd8d3e235ac0d97b58aeee780e3818e81f1f
+SHA512 (rust-bin-1.64.0/rust-1.64.0-aarch64-apple-darwin.tar.gz) = c21797d1cf21c409cea46d3dc9d33591c468b77d915f019c9cf2f031b3dc78af4d3b22d0edb6f5032ca6083f52b7ab969878b735ea9aaafe7c0336fe847814c3
+Size (rust-bin-1.64.0/rust-1.64.0-aarch64-apple-darwin.tar.gz) = 232722441 bytes
 BLAKE2s (rust-bin-1.64.0/rust-1.64.0-aarch64-unknown-linux-gnu.tar.gz) = 1c32110fdf2be923932093803b4b33e5ad9e575bf7c6fe3b11368f9484f3559d
 SHA512 (rust-bin-1.64.0/rust-1.64.0-aarch64-unknown-linux-gnu.tar.gz) = 
61284a6f5fb5b6b8fba8a17fbe72b27c03dcc04f1a252725b001bf2fa38b5df7ca12bc3aabaf2eb631c3eb9de8c9c563e96b034e2532385178192dcf39377fb4
 Size (rust-bin-1.64.0/rust-1.64.0-aarch64-unknown-linux-gnu.tar.gz) = 421442906 bytes



Home | Main Index | Thread Index | Old Index