HomeFreeBSD

Mk/bsd.sites.mk: Fix fetch with GL_TUPLE site:account:project:commit:group…

Description

Mk/bsd.sites.mk: Fix fetch with GL_TUPLE site:account:project:commit:group style entries

Something like

GL_TUPLE= https://gitlab.redox-os.org:redox-os:calc:afba9c5d184ddb9db5e4e71dc357da0499e212cf:calculate

fails to fetch because GL_SITE_calculate still has the colon left after parsing:

> Attempting to fetch https://gitlab.redox-os.org:/redox-os/calc/repository/afba9c5d184ddb9db5e4e71dc357da0499e212cf/archive.tar.gz?dummy=/redox-os-calc-afba9c5d184ddb9db5e4e71dc357da0499e212cf_GL0.tar.gz

fetch: https://gitlab.redox-os.org:/redox-os/calc/repository/afba9c5d184ddb9db5e4e71dc357da0499e212cf/archive.tar.gz?dummy=/redox-os-calc-afba9c5d184ddb9db5e4e71dc357da0499e212cf_GL0.tar.gz: parse error

$ make -V GL_SITE_calculate
https://gitlab.redox-os.org:

Changing the already complex regular expressions to correct this
would make them even more complex. Instead we correct the :: that
appears in GL_SITE after parsing GL_TUPLE.

Approved by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D21171

Details

Committed
tobikMon, Aug 19, 2:01 PM
Differential Revision
D21171: Mk/bsd.sites.mk: Fix fetch with GL_TUPLE site:account:project:commit:group style entries
Parents
rP509287: Update to 0.11.2.
Branches
Unknown
Tags
Unknown