HomeFreeBSD

Mk/Uses/go.mk: Do not insist on always pulling go.mod and distfile from GOPROXY

Description

Mk/Uses/go.mk: Do not insist on always pulling go.mod and distfile from GOPROXY

Some Go packages are not listed on pkg.go.dev (usually because their
versioning scheme does not satisfy Go requirements) and, as a
consequence, are not accessible through proxy.golang.org.

Instead of resorting to hacks with pseudo-versions and/or enumerating
dependencies manually with modules2tuple, support fetching go.mod and
distfile from the usual places using DISTFILES mechanism. This will
allow bypassing GOPROXY for go.mod and the distribution archive, but
will still use it for fetching dependencies (with GO_MODULE).

Details

Provenance
dmgkAuthored on May 4 2022, 12:12 PM
Parents
R11:0af68092a09d: multimedia/minisatip: Update to 1.2.1
Branches
Unknown
Tags
Unknown