pkgsrc-WIP-changes archive

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

Adjust Makefile to account for MASTER_SITE_CRATESIO



Module Name:	pkgsrc-wip
Committed By:	ci4ic4 <ci4ic4%gmail.com@localhost>
Pushed By:	ci4ic4
Date:		Thu Jun 18 11:48:42 2026 +0100
Changeset:	758ea59a32aa96152a3fd445dae3fc3cb706c14a

Modified Files:
	CodeWhale/Makefile

Log Message:
Adjust Makefile to account for MASTER_SITE_CRATESIO

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=758ea59a32aa96152a3fd445dae3fc3cb706c14a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 CodeWhale/Makefile | 8 --------
 1 file changed, 8 deletions(-)

diffs:
diff --git a/CodeWhale/Makefile b/CodeWhale/Makefile
index f47fde6488..c38552b8cd 100644
--- a/CodeWhale/Makefile
+++ b/CodeWhale/Makefile
@@ -34,12 +34,4 @@ post-install:
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../lang/rust/cargo.mk"
 
-# Fix crate download URLs: cargo.mk constructs paths in the CDN format
-# {name}/{name}-{version}.crate but sets MASTER_SITE_CRATESIO to the
-# API host https://crates.io/api/v1/crates/ which returns 400 Bad Request.
-# Override each SITES.*.crate entry to use the CDN directly.
-.for crate in ${CARGO_CRATE_DEPENDS}
-SITES.${crate}.crate=	-https://static.crates.io/crates/${crate:C/-[0-9]+\.[0-9.]+.*$//}/${crate}.crate
-.endfor
-
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index