aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-06-06 01:52:36 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-06-06 01:52:36 +0000
commit1a94a13d0a7e5f82d5d689f1928af85e64fffd36 (patch)
treec075d5e437fedd301b7a639f3d0f3446818bc776 /Mk/bsd.sites.mk
parent7d7eb14764b5dd0b178e012075234b0159de83b7 (diff)
downloadports-1a94a13d0a7e5f82d5d689f1928af85e64fffd36.tar.gz
ports-1a94a13d0a7e5f82d5d689f1928af85e64fffd36.zip
Notes
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk5
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%