Try and prevent people from adding github archive urls.
If you use the archive URL directly, you end up having non unique distfiles named 0.9.5.tar.gz or v2.2.2.tar.gz, and soon, another port ends up having the same version, and boom. Reviewed by: bdrewery Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D15039
This commit is contained in:
parent
ac93771523
commit
ed149bc97f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467145
@ -343,6 +343,11 @@ MASTER_SITE_GENTOO+= \
|
||||
ftp://gentoo.inode.at/source/%SUBDIR%/
|
||||
.endif
|
||||
|
||||
# Keep this before USE_GITHUB
|
||||
.if !empty(MASTER_SITES:M*/github.com/*/archive/*)
|
||||
DEV_WARNING+= "MASTER_SITES contains ${MASTER_SITES:M*/github.com/*/archive/*}, please use USE_GITHUB instead."
|
||||
.endif
|
||||
|
||||
.if !defined(IGNORE_MASTER_SITE_GITHUB)
|
||||
#
|
||||
# In order to use GitHub your port must define USE_GITHUB and the following
|
||||
|
Loading…
Reference in New Issue
Block a user