git: adbe84dccb - main - porters-handbook: Fix typos

Daniel Ebdrup Jensen debdrup at FreeBSD.org
Fri Mar 5 20:57:51 UTC 2021


The branch main has been updated by debdrup:

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

commit adbe84dccb8d5c94190e8e03b652503da6a152cd
Author:     Pau Amma <pauamma at gundo.com>
AuthorDate: 2021-03-05 20:55:56 +0000
Commit:     Daniel Ebdrup Jensen <debdrup at FreeBSD.org>
CommitDate: 2021-03-05 20:55:56 +0000

    porters-handbook: Fix typos
    
    Reviewed by:    ygy
    Differential Revision:  https://reviews.freebsd.org/D29096
---
 documentation/content/en/books/porters-handbook/special/chapter.adoc | 2 +-
 documentation/content/en/books/porters-handbook/uses/chapter.adoc    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/books/porters-handbook/special/chapter.adoc b/documentation/content/en/books/porters-handbook/special/chapter.adoc
index 62400a9a8e..3a62cff100 100644
--- a/documentation/content/en/books/porters-handbook/special/chapter.adoc
+++ b/documentation/content/en/books/porters-handbook/special/chapter.adoc
@@ -713,7 +713,7 @@ For ports that use Go, define `USES=go`. Refer to <<uses-go,`go`>> for a list of
 .Creating a Port for a Go Modules Based Application
 [example]
 ====
-In most cases, it is sufficient to set `GO_MODULE` variable to the value specified by `module` directive in `go.mod`:
+In most cases, it is sufficient to set the `GO_MODULE` variable to the value specified by the `module` directive in `go.mod`:
 
 [.programlisting]
 ....
diff --git a/documentation/content/en/books/porters-handbook/uses/chapter.adoc b/documentation/content/en/books/porters-handbook/uses/chapter.adoc
index 91d71fbf04..83ebb361c3 100644
--- a/documentation/content/en/books/porters-handbook/uses/chapter.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/chapter.adoc
@@ -520,7 +520,7 @@ Sets default values and targets used to build Go software. A build dependency on
 The build process is controlled by several variables:
 
 `GO_MODULE`::
-The name of the application module as specified by `module` directive in `go.mod`. In most cases, this is the only requred variable for ports that use Go modules.
+The name of the application module as specified by the `module` directive in `go.mod`. In most cases, this is the only required variable for ports that use Go modules.
 
 `GO_PKGNAME`::
 The name of the Go package when building in GOPATH mode. This is the directory that will be created in `${GOPATH}/src`. If not set explicitly and `GH_SUBDIR` or `GL_SUBDIR` is present, `GO_PKGNAME` will be inferred from it. It is not needed when building in modules-aware mode.


More information about the dev-commits-doc-all mailing list