Page MenuHomeFreeBSD

D41014.diff
No OneTemporary

D41014.diff

diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -406,8 +406,12 @@
.endif # !defined(IGNORE_MASTER_SITE_GITHUB)
# Keep this before USE_GITLAB
-.if !empty(MASTER_SITES:M*//*/*/*/-/archive/${DISTVERSIONFULL}/)
+# first try to detect when fetch was called by makesum, which passes
+# MASTER_SITES and would cause a bogus warning here.
+.if !(make(fetch) && !empty(NO_CHECKSUM) && !empty(DISABLE_SIZE))
+. if !empty(MASTER_SITES:M*//*/*/*/-/archive/${DISTVERSIONFULL}/)
DEV_WARNING+= "MASTER_SITES contains ${MASTER_SITES:M*//*/*/*/-/archive/${DISTVERSIONFULL}/}, please use USE_GITLAB instead."
+. endif
.endif
.if !defined(IGNORE_MASTER_SITE_GITLAB)

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 2, 1:07 AM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16393449
Default Alt Text
D41014.diff (705 B)

Event Timeline