Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110700098
D12628.id33838.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
580 B
Referenced Files
None
Subscribers
None
D12628.id33838.diff
View Options
Index: Mk/Uses/cargo.mk
===================================================================
--- Mk/Uses/cargo.mk
+++ Mk/Uses/cargo.mk
@@ -38,7 +38,7 @@
# Generate list of DISTFILES.
.for _crate in ${CARGO_CRATES}
-MASTER_SITES+= ${MASTER_SITES_CRATESIO}/${_crate:C/-[^-]*$//}/${_crate:C/^.*-//}/download?dummy=/:cargo_${_crate:S/-//g:S/.//g}
+MASTER_SITES+= ${MASTER_SITES_CRATESIO}/${_crate:C/-[0-9].*$//}/${_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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 23, 1:37 AM (6 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16785004
Default Alt Text
D12628.id33838.diff (580 B)
Attached To
Mode
D12628: Mk/Uses/cargo.mk: Fix over-eager crate name/version split when setting up MASTER_SITES
Attached
Detach File
Event Timeline
Log In to Comment