1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

USE_GITHUB: Treat 'V' special just as 'v' is for DISTVERSIONPREFIX.

Fixes security/libzrtpcppcore after r385420.

Reported by:	antoine
With hat:	portmgr
This commit is contained in:
Bryan Drewery 2015-05-04 22:02:29 +00:00
parent 5d198f1cae
commit 94b4d68eae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385431

View File

@ -557,7 +557,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:C/^v([0-9])/\1/}
GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/}
. endif
.endif
.endif