Date: Fri, 22 Apr 2016 13:31:37 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> 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 Message-ID: <201604221331.u3MDVbV9039414@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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</p information.</para> </sect1> + <sect1 xml:id="uses-go"> + <title><literal>go</literal></title> + + <para>Possible arguments: (none)</para> + + <para>Sets default values and targets used to build + <application>Go</application> software. A build-time dependency + on <package role="port">lang/go</package> is added. The build + process is controlled by several variables:</para> + + <variablelist> + <varlistentry> + <term><varname>GO_PKGNAME</varname></term> + + <listitem> + <para>The name of the <application>Go</application> package. + This is the directory that will be created in + <literal>GOPATH/src</literal>. The default value is + <varname>${PORTNAME}</varname>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><varname>GO_TARGET</varname></term> + + <listitem> + <para>The name of the packages to build. The default + value is <varname>${GO_PKGNAME}</varname>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><varname>CGO_CFLAGS</varname></term> + + <listitem> + <para>Additional <varname>CFLAGS</varname> values to be + passed to the <application>C</application> compiler by + <command>go</command>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><varname>CGO_LDFLAGS</varname></term> + + <listitem> + <para>Additional <varname>LDFLAGS</varname> values to be + passed to the <application>C</application> compiler by + <command>go</command>.</para> + </listitem> + </varlistentry> + </variablelist> + </sect1> + <sect1 xml:id="uses-gperf"> <title><literal>gperf</literal></title>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604221331.u3MDVbV9039414>