diff options
author | Dmitri Goutnik <dmgk@FreeBSD.org> | 2021-01-08 14:21:28 +0000 |
---|---|---|
committer | Dmitri Goutnik <dmgk@FreeBSD.org> | 2021-01-08 14:21:28 +0000 |
commit | 3fdfb0aec1d55c242b46c54e10df5a2d8956d22a (patch) | |
tree | d7eabe757ca639c5213176239067024107b0958d /mail/thunderbird/files/patch-bug1684180 | |
parent | www/gobuffalo: Update to 0.16.19 (diff) |
Mk/Uses/go.mk: Explicitly set modules-aware mode depending on "modules" argument
Until now, go.mk relied on default Go behavior of switching to modules-aware
mode only in the presence of go.mod and building in legacy ("GOPATH") mode
otherwise. This changes with go1.16 [1] which flips defaults to always build in
modules-aware mode and needs an explicit GO111MODULE=off to turn modules off.
Stop relying on Go defaults and set build mode explicitly depending on
"modules" argument in USES=go.
[1] https://github.com/golang/go/issues/41330
Diffstat (limited to 'mail/thunderbird/files/patch-bug1684180')
0 files changed, 0 insertions, 0 deletions