Commit graph

8 commits

Author SHA1 Message Date
rillig
ebe9605566 Made Go packages testable and cleaned up shell commands
Prevented the error message "*** Error 1 (ignored) ***" during installation
by using || instead of &&.

Shell commands are hidden during normal operation.

Go packages can be tested using "bmake test".

ok @bsiegert
2016-01-23 12:42:57 +00:00
bsiegert
1726914d23 Real buildlink support for Go, hacked with wiz@.
Go packages now define a set of files to buildlink in their buildlink3.mk.
go-packages.mk no longer looks in ${PREFIX}/gopkg during the build. This
should also fix the spurious issues with rebuilds of .a files during bulk
builds of Go packages.
2015-12-29 21:47:48 +00:00
wiz
44ebc0bb83 Document variables this mk file provides.
Ok bsiegert@
2015-12-27 19:41:10 +00:00
bsiegert
c99d17568d Actually define the GO_PLATFORM var before using it. Fixes PLIST generation
for Go packages.
2015-05-11 13:25:35 +00:00
bsiegert
7510a80529 go-package.mk: add an awk fragment for print-PLIST to replace GO_PLATFORM.
After a similar patch by hiramatsu@ for ocaml.mk.
2015-05-03 15:35:54 +00:00
bsiegert
9a7bee3121 Add pax to USE_TOOLS. 2015-03-10 21:52:10 +00:00
bsiegert
90b4a70bfb Add definition for GOTOOLDIR.
This is needed for the go-tools package.
2015-01-13 21:35:13 +00:00
bsiegert
e1bf55736f Add infrastructure for compiling software written in Go to pkgsrc. This
used to be in wip/go.
2015-01-02 14:04:00 +00:00