I just installed www/xcaddy and tried running it: # xcaddy 2024/05/27 21:51:39 [ERROR] exec [go list -mod=readonly -m -json all]: exec: "go": executable file not found in $PATH: # I don't have lang/go installed. Obviously I can (and momentarily will) install it, but it seems like www/xcaddy should have it as a runtime dependency so that it gets installed automatically? It looks like xcaddy has it marked as a build dependency, but not a runtime dependency. Apologies if I'm misunderstanding something.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=86bff3d95b03955a22d181fe064f81db968a1bb6 commit 86bff3d95b03955a22d181fe064f81db968a1bb6 Author: Jimmy Olgeni <olgeni@FreeBSD.org> AuthorDate: 2024-05-29 08:19:39 +0000 Commit: Jimmy Olgeni <olgeni@FreeBSD.org> CommitDate: 2024-05-29 08:23:58 +0000 www/xcaddy: add missing RUN_DEPENDS on lang/go. xcaddy uses go to build custom releases of caddy, so it actually needs it at runtime. PR: 279358 Reported by: Robert William Vesterman <bob@vesterman.com> www/xcaddy/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
Yes that is correct, good catch - thanks!