summaryrefslogtreecommitdiff
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-03-20 22:32:00 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-03-20 22:32:00 +0000
commit945a87d01c39b5614f0a771feb547ce8d5669fca (patch)
tree35e64db02eb5b3538486fced63968020670fe1a4 /Mk/bsd.sites.mk
parentFix packaging (diff)
Fix fetching x11-fonts/sourcesanspro-ttf from r381780; Don't modify GH_TAGNAME.
Pointyhats to: bdrewery With hat: portmgr Reported by: antoine
Notes
Notes: svn path=/head/; revision=381782
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index c8fc963ee8ca..9b33e4d67db9 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -558,7 +558,6 @@ GH_TAGNAME?= ${DISTVERSION}
. else
# Use full PREFIX/SUFFIX and converted DISTVERSION
GH_TAGNAME?= ${DISTVERSIONFULL}
-GH_TAGNAME:= ${GH_TAGNAME:S,/,-,}
# This new scheme rerolls distfiles. Also ensure they are renamed to avoid
# conflicts. Use _GITHUB_REV in case github changes their zipping or structure
# which has happened before.
@@ -567,6 +566,9 @@ _GITHUB_REV= 0
DISTNAME:= ${DISTNAME}_GH${_GITHUB_REV}
. endif
. endif
+. if defined(GH_TAGNAME)
+GH_TAGNAME_SANITIZED= ${GH_TAGNAME:S,/,-,}
+. endif
.endif
.endif