aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-03-21 06:32:00 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-03-21 06:32:00 +0800
commit968c09476fc21c21ddf9f14b93f7ebecf2b8929f (patch)
tree35e64db02eb5b3538486fced63968020670fe1a4 /Mk/bsd.sites.mk
parentc1e90f781afcdd42726075d79393baaa574b70cd (diff)
downloadfreebsd-ports-gnome-968c09476fc21c21ddf9f14b93f7ebecf2b8929f.tar.gz
freebsd-ports-gnome-968c09476fc21c21ddf9f14b93f7ebecf2b8929f.tar.zst
freebsd-ports-gnome-968c09476fc21c21ddf9f14b93f7ebecf2b8929f.zip
Fix fetching x11-fonts/sourcesanspro-ttf from r381780; Don't modify GH_TAGNAME.
Pointyhats to: bdrewery With hat: portmgr Reported by: antoine
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