aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-06-06 10:10:23 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-06-06 10:10:23 +0800
commit010b1dcffc3e28f16ec6aa6ace24df4286eae299 (patch)
tree6f14ecebaf76b5a4559d6ee7c4c26decda8b3fbd /Mk/bsd.sites.mk
parent278a161f44a0450432db01bf7d8539dd62b989d9 (diff)
downloadfreebsd-ports-graphics-010b1dcffc3e28f16ec6aa6ace24df4286eae299.tar.gz
freebsd-ports-graphics-010b1dcffc3e28f16ec6aa6ace24df4286eae299.tar.zst
freebsd-ports-graphics-010b1dcffc3e28f16ec6aa6ace24df4286eae299.zip
Fix INDEX build
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 3cf207059ba..6f367f2eb7e 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -534,8 +534,8 @@ 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. \
+.if defined(GH_TAGNAME) && ${GH_TAGNAME} == master
+BROKEN?= Using master as GH_TAGNAME is invalid. \
Must use a version or commit hash so the upstream does\
not "reroll" as soon as the branch is updated
.endif