From owner-svn-doc-all@freebsd.org Fri Apr 22 13:31:38 2016 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4A23B17491; Fri, 22 Apr 2016 13:31:38 +0000 (UTC) (envelope-from mat@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 mx1.freebsd.org (Postfix) with ESMTPS id 79D2419A1; Fri, 22 Apr 2016 13:31:38 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3MDVbRP039415; Fri, 22 Apr 2016 13:31:37 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3MDVbV9039414; Fri, 22 Apr 2016 13:31:37 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201604221331.u3MDVbV9039414@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 22 Apr 2016 13:31:37 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48710 - head/en_US.ISO8859-1/books/porters-handbook/uses X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 22 Apr 2016 13:31:38 -0000 Author: mat Date: Fri Apr 22 13:31:37 2016 New Revision: 48710 URL: https://svnweb.freebsd.org/changeset/doc/48710 Log: Document USES=go. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6058 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 Thu Apr 21 16:58:02 2016 (r48709) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Fri Apr 22 13:31:37 2016 (r48710) @@ -978,6 +978,59 @@ USE_GNOME= gnomemenus3:build intlhack

+ + <literal>go</literal> + + Possible arguments: (none) + + Sets default values and targets used to build + Go software. A build-time dependency + on lang/go is added. The build + process is controlled by several variables: + + + + GO_PKGNAME + + + The name of the Go package. + This is the directory that will be created in + GOPATH/src. The default value is + ${PORTNAME}. + + + + + GO_TARGET + + + The name of the packages to build. The default + value is ${GO_PKGNAME}. + + + + + CGO_CFLAGS + + + Additional CFLAGS values to be + passed to the C compiler by + go. + + + + + CGO_LDFLAGS + + + Additional LDFLAGS values to be + passed to the C compiler by + go. + + + + + <literal>gperf</literal>