pkgsrc/lang/go14/patches/patch-src_go_build_build.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

14 lines
397 B
Go

$NetBSD: patch-src_go_build_build.go,v 1.1 2015/07/31 14:46:25 bsiegert Exp $
Support cgo on illumos.
--- src/go/build/build.go.orig 2014-12-11 01:18:12.000000000 +0000
+++ src/go/build/build.go
@@ -277,6 +277,7 @@ var cgoEnabled = map[string]bool{
"openbsd/amd64": true,
"windows/386": true,
"windows/amd64": true,
+ "solaris/amd64": true,
}
func defaultContext() Context {