FreeBSD Bugzilla – Attachment 195948 Details for
Bug 230413
CARGO_CRATES broken with crate names ending with -<number>
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cargo.mk.diff
cargo.mk.diff (text/plain), 632 bytes, created by
Tobias Kortkamp
on 2018-08-06 18:21:10 UTC
(
hide
)
Description:
cargo.mk.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2018-08-06 18:21:10 UTC
Size:
632 bytes
patch
obsolete
>diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk >index ab3951b25b71..3969dd7cb0e5 100644 >--- a/Mk/Uses/cargo.mk >+++ b/Mk/Uses/cargo.mk >@@ -38,7 +38,7 @@ CARGO_DIST_SUBDIR?= rust/crates > > # Generate list of DISTFILES. > .for _crate in ${CARGO_CRATES} >-MASTER_SITES+= ${MASTER_SITES_CRATESIO}/${_crate:C/-[0-9].*$//}/${_crate:C/^.*-([0-9].*)/\1/}/download?dummy=/:cargo_${_crate:S/-//g:S/.//g} >+MASTER_SITES+= ${MASTER_SITES_CRATESIO}/${_crate:C/^(.*)-[0-9].*/\1/}/${_crate:C/^.*-([0-9].*)/\1/}/download?dummy=/:cargo_${_crate:S/-//g:S/.//g} > DISTFILES+= ${CARGO_DIST_SUBDIR}/${_crate}.tar.gz:cargo_${_crate:S/-//g:S/.//g} > .endfor >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230413
: 195948