[Bug 291375] Mk/Uses/go.mk: how not to use a GOPROXY? (GOPROXY=direct)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 05 Dec 2025 13:30:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291375

--- Comment #6 from Adam Weinberger <adamw@FreeBSD.org> ---
I see... I didn't realize you were building in poudriere. That changes things.

So the idea is:
.if ${GO_GOPROXY} == "direct"
FETCH_DEPENDS+=    git:devel/git
.endif

I don't like magic values, but sometimes they're necessary. I'm convinced as to
the simplicity of it, but what problem is GOPROXY=direct solving? I'm unclear
how many end-users will want to avoid mod proxies.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.