Page MenuHomeFreeBSD

D41014.1781299454.diff
No OneTemporary

Size
705 B
Referenced Files
None
Subscribers
None

D41014.1781299454.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
Fri, Jun 12, 9:24 PM (11 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28895944
Default Alt Text
D41014.1781299454.diff (705 B)

Event Timeline