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:   wiz
Date:           Sun May  3 13:55:03 UTC 2026

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

Log Message:
rust: improve sed pattern

The comma is not guaranteed to exist.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 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.45 pkgsrc/lang/rust/cargo.mk:1.46
--- pkgsrc/lang/rust/cargo.mk:1.45      Sun Apr 26 21:00:57 2026
+++ pkgsrc/lang/rust/cargo.mk   Sun May  3 13:55:03 2026
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.45 2026/04/26 21:00:57 wiz Exp $
+# $NetBSD: cargo.mk,v 1.46 2026/05/03 13:55:03 wiz 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