Opened 15 years ago
Closed 14 years ago
#22569 closed submission (duplicate)
Port for Go language compiler and runtime
Reported by: | pbhogan@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | go | Cc: | |
Port: |
Description
This is a port for the new Go language compiler (http://golang.org)
Attachments (1)
Change History (10)
comment:1 Changed 15 years ago by blb@…
comment:4 Changed 15 years ago by pbhogan@…
Replying to jann@…:
Why does it violate mtree?
Because it installs the runtime libraries to $prefix/$name (/opt/local/go) which is outside the standard tree, but seems like a good place to put it.
comment:5 follow-ups: 6 8 Changed 15 years ago by danielluke (Daniel J. Luke)
Seems like they would belong in $prefix/lib or $prefix/lib/$name
comment:6 Changed 15 years ago by pbhogan@…
Replying to dluke@…:
Seems like they would belong in $prefix/lib or $prefix/lib/$name
You might be right about $prefix/lib/$name. There's also docs, go code, tests and other stuff in there. It didn't quite seem lib-ish, but it would fit there better than other places probably. I sort of followed Apache's lead with $prefix/$name, but it's easy enough to change.
There are one or two other tweaks I'd like to do to clean it up a little when I find the time.
comment:7 Changed 15 years ago by pbhogan@…
Fixed the Portfile to respect mtree (installs go/pkg to $prefix/lib/$name/pkg and go/doc to $prefix/doc/$name) and is also more destroot friendly and will uninstall cleanly.
To give credit where it's due: I borrowed from the other two ports (#22476 and #22506) in dealing with the "~place-holder~" file more cleanly and destrooting properly.
comment:8 Changed 15 years ago by pbhogan@…
Replying to dluke@…:
Seems like they would belong in $prefix/lib or $prefix/lib/$name
This is now fixed.
comment:9 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
See also #22476 and #22506.