[Bug 258359] Mk/Uses/go.mk: fix gomod-clean target for case when lang/go is not installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Sep 2021 04:06:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258359 Bug ID: 258359 Summary: Mk/Uses/go.mk: fix gomod-clean target for case when lang/go is not installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: dmgk@freebsd.org Reporter: ports.maintainer@evilphi.com Flags: maintainer-feedback?(dmgk@freebsd.org) Assignee: dmgk@freebsd.org Created attachment 227753 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227753&action=edit Fix gomod-clean target for case when go is not installed Mk/Uses/go.mk breaks cleaning targets if go is not installed: # make distclean ===> benchmarks/hey ===> Cleaning for hey-0.1.4_1 ===> Cleaning Go module cache env: /usr/local/bin/go: No such file or directory *** Error code 127 Suggested fix: wrap the "go clean -modules" command with a test that will silently fail if go is not installed. -- You are receiving this mail because: You are the assignee for the bug.