git: 5fe2d080fb - main - [phb][Uses]: Update Uses=go

Fernando Apesteguía <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=5fe2d080fb78e6e347bd2a1015e2608e2b17c7d6

commit 5fe2d080fb78e6e347bd2a1015e2608e2b17c7d6
Author:     Fernando Apesteguía <[email protected]>
AuthorDate: 2025-12-15 18:14:01 +0000
Commit:     Fernando Apesteguía <[email protected]>
CommitDate: 2026-01-13 16:23:35 +0000

    [phb][Uses]: Update Uses=go
    
    After
    https://cgit.freebsd.org/ports/commit/?id=b318a7cadc57d35a4dfdc1db90048b5e7b194501
---
 documentation/content/en/books/porters-handbook/uses/_index.adoc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 5a06daf4e5..f81e4c8c07 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1048,10 +1048,12 @@ See crossref:special[using-gnome,Using GNOME] for more information.
 Ports should not be created for Go libs, see crossref:special[go-libs,Go Libraries] for more information.
 ====
 
-Possible arguments: (none), `N.NN`, `N.NN-devel`, `modules`, `no_targets`, `run`
+Possible arguments: (none), `N.NN`, `N.NN+`, `N.NN-devel`, `modules`, `no_targets`, `run`
 
 Sets default values and targets used to build Go software.
 A build dependency on the Go compiler port is added, port maintainers can set version required.
+If the `X.Y+` format is used then Go `X.Y` will be used unless the default go
+version is higher than `X.Y` in which case the default version will be used.
 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 extract and build targets.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.