pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust196: update to 1.96.1; carry over new option from main pkgsrc.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Thu Jul 2 09:59:28 2026 +0000
Changeset: 6a4b5c7c3ad1d5637fd84c9a6581547907ec249a
Modified Files:
rust196/Makefile
rust196/distinfo
rust196/options.mk
Log Message:
rust196: update to 1.96.1; carry over new option from main pkgsrc.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6a4b5c7c3ad1d5637fd84c9a6581547907ec249a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust196/Makefile | 2 +-
rust196/distinfo | 6 +++---
rust196/options.mk | 12 ++++++++++--
3 files changed, 14 insertions(+), 6 deletions(-)
diffs:
diff --git a/rust196/Makefile b/rust196/Makefile
index c6ee17dc5d..b41b980ca2 100644
--- a/rust196/Makefile
+++ b/rust196/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.360 2026/05/14 16:41:22 ryoon Exp $
-DISTNAME= rustc-1.96.0-src
+DISTNAME= rustc-1.96.1-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
CATEGORIES= lang
MASTER_SITES= https://static.rust-lang.org/dist/
diff --git a/rust196/distinfo b/rust196/distinfo
index 3baae3ba87..7cc8fe5d99 100644
--- a/rust196/distinfo
+++ b/rust196/distinfo
@@ -108,9 +108,9 @@ Size (rust-std-1.95.0-x86_64-unknown-linux-gnu.tar.gz) = 49435219 bytes
BLAKE2s (rust-std-1.95.0-x86_64-unknown-netbsd.tar.xz) = 350d3caee31d727425cef73e4075ef04548ad9de1df7f47bdf44d15bc469b197
SHA512 (rust-std-1.95.0-x86_64-unknown-netbsd.tar.xz) = b6260458fbe1c7564f93e0da2ced6f5955771598568e20a9912444792fae096518a964c64a6bb6ad6ebb2029e49544d7422d42c8a2b0866dc0e6d50dcaa6fda4
Size (rust-std-1.95.0-x86_64-unknown-netbsd.tar.xz) = 27125360 bytes
-BLAKE2s (rustc-1.96.0-src.tar.gz) = 223102f3bf363f734c40e54a1ca47ee5205a45d38708e2681368b4007eea80d3
-SHA512 (rustc-1.96.0-src.tar.gz) = 793e159e6573f59337fb1923c623069a8efcd78192bfd1d6525237494f80eec7df6b263ae8d918033ebb50613675b5ac3b747b18caef21ad1d6faf59942d68fe
-Size (rustc-1.96.0-src.tar.gz) = 528339182 bytes
+BLAKE2s (rustc-1.96.1-src.tar.gz) = 1edec24ab7204a20a482efd83d5333de53e31de83b97abaada79ed36bd7174d8
+SHA512 (rustc-1.96.1-src.tar.gz) = fecd947a0a08795b84cf3cff711ff2e18cdc83414daadf318f662ccd6f518fbae446ccdab2ec4f3fb934164e3c5ff926c21ffbe7d609fbca14c19d8cade103e1
+Size (rustc-1.96.1-src.tar.gz) = 528742024 bytes
SHA1 (patch-compiler_rustc__codegen__ssa_src_back_linker.rs) = f6b18a54dd8c991f6304df35a59fee3d55b46ed3
SHA1 (patch-compiler_rustc__llvm_build.rs) = 3acef995e3038a98b29b31b9bdd43286b1ac29f7
SHA1 (patch-compiler_rustc__target_src_spec_base_netbsd.rs) = 4db00d8abecd8f343e3c22c272a8a4e1f9228532
diff --git a/rust196/options.mk b/rust196/options.mk
index 8ba5ffc883..ffdaf7b19a 100644
--- a/rust196/options.mk
+++ b/rust196/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.54 2026/04/02 19:06:34 wiz Exp $
+# $NetBSD: options.mk,v 1.55 2026/06/30 15:13:10 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rust
-PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs
+PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs rust-system-libgit2
.include "../../mk/bsd.fast.prefs.mk"
@@ -76,6 +76,14 @@ CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
CONFIGURE_ARGS+= --set rust.lld=false
.endif
+#
+# Use the external libgit2.
+#
+.if !empty(PKG_OPTIONS:Mrust-system-libgit2)
+.include "../../devel/libgit2/buildlink3.mk"
+CONFIGURE_ENV+= LIBGIT2_NO_VENDOR=1
+.endif
+
# Rust bumps into NetBSD's limit of 256 TLS keys per process, at least
# on aarch64 with "fatal runtime error: out of TLS keys, aborting"
# (for some incomprehensible reason this isn't triggered on NetBSD/amd64 10.1)
Home |
Main Index |
Thread Index |
Old Index