Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109118886
D41014.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
705 B
Referenced Files
None
Subscribers
None
D41014.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D41014: bsd.sites.mk: Avoid bogus dev-warning from makesum
Attached
Detach File
Event Timeline
Log In to Comment