pkgsrc/lang/go14/patches/patch-src_cmd_go_pkg.go
bsiegert 4f034c2357 Create lang/go14 as a copy of lang/go but which installs under
$PREFIX/go14.

Go 1.5 is going to be released soon, and it will depend on an existing
installation of Go 1.4 to compile. So let's provide one.
2015-07-31 14:46:25 +00:00

17 lines
765 B
Go

$NetBSD: patch-src_cmd_go_pkg.go,v 1.1 2015/07/31 14:46:25 bsiegert Exp $
Do not try to install go-tools into GOROOT. This is done in the
go-tools package instead.
--- src/cmd/go/pkg.go.orig 2014-12-11 01:18:10.000000000 +0000
+++ src/cmd/go/pkg.go
@@ -401,9 +401,6 @@ var goTools = map[string]targetDir{
"cmd/pack": toTool,
"cmd/pprof": toTool,
"cmd/yacc": toTool,
- "golang.org/x/tools/cmd/cover": toTool,
- "golang.org/x/tools/cmd/godoc": toBin,
- "golang.org/x/tools/cmd/vet": toTool,
"code.google.com/p/go.tools/cmd/cover": stalePath,
"code.google.com/p/go.tools/cmd/godoc": stalePath,
"code.google.com/p/go.tools/cmd/vet": stalePath,