svn commit: r416269 - head/Mk
Mathieu Arnold
mat at FreeBSD.org
Thu Jun 2 07:29:03 UTC 2016
Author: mat
Date: Thu Jun 2 07:29:01 2016
New Revision: 416269
URL: https://svnweb.freebsd.org/changeset/ports/416269
Log:
Github silently replaces + with - in the tag when creating a tarball.
Reported by: antoine
Sponsored by: Absolight
Modified:
head/Mk/bsd.sites.mk (contents, props changed)
Modified: head/Mk/bsd.sites.mk
==============================================================================
--- head/Mk/bsd.sites.mk Thu Jun 2 06:15:01 2016 (r416268)
+++ head/Mk/bsd.sites.mk Thu Jun 2 07:29:01 2016 (r416269)
@@ -611,8 +611,8 @@ GH_TAGNAME:= ${GH_TAGNAME_DEFAULT}
. if defined(GH_TAGNAME)
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/^[vV]([0-9])/\1/}
+# and extraction directory. It also replaces + with -.
+GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/:S/+/-/g}
. endif
. if defined(_GITHUB_MUST_SET_DISTNAME)
# GH_TAGNAME defaults to DISTVERSIONFULL; Avoid adding DISTVERSIONFULL in twice
More information about the svn-ports-head
mailing list