From owner-svn-doc-all@freebsd.org Sat Jun 29 03:56:10 2019 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BE5615D32CB; Sat, 29 Jun 2019 03:56:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6CAC95231; Sat, 29 Jun 2019 03:56:09 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A38628D6A; Sat, 29 Jun 2019 03:56:09 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5T3u9fv035717; Sat, 29 Jun 2019 03:56:09 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5T3u92b035716; Sat, 29 Jun 2019 03:56:09 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201906290356.x5T3u92b035716@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 29 Jun 2019 03:56:09 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r53205 - head/en_US.ISO8859-1/books/porters-handbook/uses X-SVN-Group: doc-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/porters-handbook/uses X-SVN-Commit-Revision: 53205 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E6CAC95231 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2019 03:56:10 -0000 Author: tobik (ports committer) Date: Sat Jun 29 03:56:09 2019 New Revision: 53205 URL: https://svnweb.freebsd.org/changeset/doc/53205 Log: Porter's Handbook: Document no_targets/run and GO_PORT after ports r505321 Submitted by: dg@syrec.org Reviewed by: mat, tobik Approved by: mat Differential Revision: https://reviews.freebsd.org/D20736 Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Fri Jun 28 18:33:07 2019 (r53204) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Sat Jun 29 03:56:09 2019 (r53205) @@ -1144,15 +1144,22 @@ USE_GNOME= gnomemenus3:build intlhack 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 @@ USE_GNOME= gnomemenus3:build intlhack 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! +