diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-06-06 01:52:36 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-06-06 01:52:36 +0000 |
commit | 1a94a13d0a7e5f82d5d689f1928af85e64fffd36 (patch) | |
tree | c075d5e437fedd301b7a639f3d0f3446818bc776 /Mk/bsd.sites.mk | |
parent | - Upgrade to 1.02. (diff) |
Explicitly mark ports using 'master' from github
as BROKEN, as they will immediately fail checksum as soon as
the branch is updated
Notes
Notes:
svn path=/head/; revision=320048
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r-- | Mk/bsd.sites.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 6967aeb1ac92..3cf207059bae 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -534,6 +534,11 @@ MASTER_SITE_GENTOO+= \ # default: not set, mandatory # .if defined(USE_GITHUB) +.if ${GH_TAGNAME} == master || ${GH_COMMIT} == master +BROKEN?= Using master as GH_TAGNAME or GH_COMMIT is invalid. \ + Must use a version or commit hash so the upstream does\ + not "reroll" as soon as the branch is updated +.endif MASTER_SITE_GITHUB+= https://nodeload.github.com/%SUBDIR% \ http://nodeload.github.com/%SUBDIR% MASTER_SITE_GITHUB_CLOUD+= http://cloud.github.com/downloads/%SUBDIR% |