diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-03-24 18:15:17 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-03-24 18:15:17 +0000 |
commit | 266f7e411b0de527c9763fb14af2aa0e226051cc (patch) | |
tree | 574a21f7e0e18d6e861569bf5b7c2261576f37be /Mk | |
parent | - Use -lpthread instead of -pthread (diff) |
USE_GITHUB: Tighten the GH_TAGNAME stripping of 'v' from r382120 to only do so
for v[0-9] as Github does. If a tag is 'v.1' github will return that exact value.
This also fixed named tags that are word starting with 'v'.
PR: 198869
With hat: portmgr
Reported by: antoine
Notes
Notes:
svn path=/head/; revision=382149
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.sites.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 5cc950615675..020c6dedf187 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -570,7 +570,7 @@ DISTNAME:= ${DISTNAME}_GH${_GITHUB_REV} GH_TAGNAME_SANITIZED= ${GH_TAGNAME:S,/,-,} # Github silently converts tags starting with v to not have v in the filename # and extraction directory. -GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:S/^v//} +GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^v([0-9])/\1/} . endif .endif .endif |