#29906: go @57.1 Patch for GOROOT, violate_mtree, etc ------------------------------------+--------------------------------------- Reporter: gaochangjian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: go ------------------------------------+--------------------------------------- According to [http://golang.org/doc/install.html#environment official document], {{{GOROOT}}} is "the root of Go tree", it impact of linker, {{{gomake}}}, {{{godoc}}}, {{{goinstall}}} and so on. Current port sets {{{GOROOT}}} to {{{${prefix}}}} (usually {{{/opt/local}}}, through {{{GOROOT_FINAL}}} environment variable during build phase). It's inconvenient, cause we must violate the standard file hierarchy, and do some tricks like #29321. This patch try to unify the location of {{{GOROOT}}}. Meanwhile, tell user to set {{{GOBIN}}} environment variable in their shell profile, cause {{{gomake install}}} may need this. -- Ticket URL: <https://trac.macports.org/ticket/29906> MacPorts <http://www.macports.org/> Ports system for Mac OS