Index: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
+++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
@@ -1144,15 +1144,22 @@
for more information.
- Possible arguments: (none),
- modules
+ Possible arguments: (none), modules,
+ no_targets, run
Sets default values and targets used to build
- Go software. A build-time dependency
- on lang/go is added. By default
- the build is performed in GOPATH mode. If Go software uses
- modules, the modules-aware mode can be switched on with
- modules.
+ Go software. A build dependency
+ on the Go compiler port selected via GO_PORT
+ is added. By default the build is performed in GOPATH mode.
+ If Go software uses modules, the modules-aware mode can be
+ switched on with modules argument.
+ no_targets will setup build environment like
+ GO_ENV, GO_BUILDFLAGS but
+ skip creating post-extract,
+ do-build and
+ do-install targets.
+ run will also add a run dependency on
+ what is in GO_PORT.
The build process is controlled by several variables:
@@ -1210,6 +1217,23 @@
Additional build arguments to be passed to
go install.
+
+
+
+
+ GO_PORT
+
+
+ The Go compiler port to use. By default this is
+ lang/go but can be set
+ to lang/go-devel in
+ make.conf for testing with future Go
+ versions.
+
+
+ This variable must not be set by individual
+ ports!
+