pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Oct  1 06:53:07 UTC 2026

Modified Files:
        pkgsrc/lang/rust: cargo.mk

Log Message:
cargo.mk: better subst for CARGO_GITHUB_CRATES


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/rust/cargo.mk

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/cargo.mk
diff -u pkgsrc/lang/rust/cargo.mk:1.47 pkgsrc/lang/rust/cargo.mk:1.48
--- pkgsrc/lang/rust/cargo.mk:1.47      Wed Jun  3 09:06:11 2026
+++ pkgsrc/lang/rust/cargo.mk   Thu Oct  1 06:53:07 2026
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.47 2026/06/03 09:06:11 adam Exp $
+# $NetBSD: cargo.mk,v 1.48 2026/10/01 06:53:07 adam Exp $
 #
 # Common logic that can be used by packages that depend on cargo crates
 # from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -52,7 +52,7 @@ SUBST_STAGE.gitcrate=         pre-configure
 .  for user name hash in ${CARGO_GITHUB_CRATES}
 DISTFILES+=                    ${name}-${hash}.tar.gz
 SITES.${name}-${hash}.tar.gz+= -${MASTER_SITE_GITHUB:=${user}/}${name}/archive/${hash}.tar.gz
-SUBST_SED.gitcrate+=           -E -e 's!git.*github.com/${user}/${name}.*${hash}(.)!path = \1../${name}-${hash}\1!'
+SUBST_SED.gitcrate+=           -E -e 's!git =.*github.com/${user}/${name}.*${hash}(.)!path = \1../${name}-${hash}\1!'
 .  endfor
 .endif
 



Home | Main Index | Thread Index | Old Index