On Sat, Mar 10, 2018 at 03:45:36AM +1100, Joel Sing wrote:
> The following updates lang/go to 1.10.
>
> This also brings the golang.org/x packages up to around the time of the
> Go 1.10 release:
>
> devel/go-sys
> devel/go-tools
> net/go-net
> security/go-crypto
> textproc/go-text
>
> Last but not least, there are some changes to go.port.mk:
>
> - Go 1.10 has a test cache - for some reason this does not play completely
> well with the ports build machinery and since it provides no benefit in this
> environment, GOCACHE=off is used to disable it.
>
> - MODGO_TEST_FLAGS allows flags to be specified for tests - the net/go-net
> package makes use of this to run with -test.short, which disables tests with
> external network dependencies.
>
> - The -x flag was previously on by default, which makes builds incredibly
> noisy. I've turned this off, but enabled it if DEBUG is specified.
I'm not a fan of this part. For many other ports we explicitly instruct the
build
framework to show us the actual commands being executed, so I'd like it for go
to keep doing this.