aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-05-05 06:02:29 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-05-05 06:02:29 +0800
commit385a1347428c9b820e103f630f373bab988cb1d9 (patch)
tree8ae242b6dd048beeea34ebfafbf28d3eebba6003
parent9b8f4674140c261b672878d36324f54a522788ed (diff)
downloadfreebsd-ports-gnome-385a1347428c9b820e103f630f373bab988cb1d9.tar.gz
freebsd-ports-gnome-385a1347428c9b820e103f630f373bab988cb1d9.tar.zst
freebsd-ports-gnome-385a1347428c9b820e103f630f373bab988cb1d9.zip
USE_GITHUB: Treat 'V' special just as 'v' is for DISTVERSIONPREFIX.
Fixes security/libzrtpcppcore after r385420. Reported by: antoine With hat: portmgr
-rw-r--r--Mk/bsd.sites.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index b2c0867068b8..3c33495a5b78 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -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