# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description compiled, garbage-collected, concurrent programming \
language developed by Google Inc.
The Go programming language is an open source project to make programmers \
more productive. Go is expressive, concise, clean, and efficient. Its \
concurrency mechanisms make it easy to write programs that get the most \
out of multicore and networked machines, while its novel type system \
enables flexible and modular program construction. Go compiles quickly \
to machine code yet has the convenience of garbage collection and the \
power of run-time reflection. It's a fast, statically typed, compiled \
language that feels like a dynamically typed, interpreted language. Go \
is developed by Google Inc.
homepage https://golang.org/
master_sites https://storage.googleapis.com/golang/
distfiles go${version}.src.tar.gz
checksums rmd160 b1fbb2805a777c8107e7c946f36a881303ac5e35 \
sha256 9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
set GOROOT ${worksrcpath}
set GOROOT_FINAL ${prefix}/lib/${name}
supported_archs i386 x86_64
if {${os.platform} eq "darwin" && ${os.major} >= 16} {
patchfiles-append patch-src-runtime-sys_darwin_386-sierra-clock_gettime.diff
build.dir ${worksrcpath}/src
build.env GOROOT=${GOROOT} \
GOROOT_FINAL=${GOROOT_FINAL} \