Small fixes.

Submitted by:	adamw
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-12-01 09:16:34 +00:00
parent 35b3600a66
commit 3db70013d9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51246
2 changed files with 9 additions and 12 deletions

View file

@ -30,8 +30,9 @@
flavor.</para> flavor.</para>
<important> <important>
<para>Flavor names can <emphasis>only</emphasis> contain <para>To distinguish flavors from options, which are always
lowercase letters, numbers, and the underscore uppercase letters, flavor names can <emphasis>only</emphasis>
contain lowercase letters, numbers, and the underscore
<literal>_</literal>.</para> <literal>_</literal>.</para>
</important> </important>
@ -95,13 +96,9 @@ py36_PLIST= ${.CURDIR}/pkg-plist-py3 <co xml:id="flavors-using-ex2-plist36"/></p
<callout arearefs="flavors-using-ex2-if"> <callout arearefs="flavors-using-ex2-if">
<para>To guard against <varname>FLAVOR</varname> being <para>To guard against <varname>FLAVOR</varname> being
empty, use the FLAVOR:U &man.make.1; construct, but as empty, which would cause a &man.make.1; error, use
this is testing for the default flavor, we have to test <literal>${FLAVOR:U}</literal> in string comparisons
that <varname>FLAVOR</varname> is undefined, or that instead of <literal>${FLAVOR}</literal>.</para>
<varname>FLAVOR</varname> matches <literal>py2*</literal>,
this can be done by using the argument to
<literal>:U</literal> that will be returned if the
variable is undefined.</para>
</callout> </callout>
<callout arearefs="flavors-using-ex2-pygobject3 <callout arearefs="flavors-using-ex2-pygobject3
@ -144,8 +141,8 @@ py36_PLIST= ${.CURDIR}/pkg-plist-py3 <co xml:id="flavors-using-ex2-plist36"/></p
<sect2 xml:id="flavors-using-helpers"> <sect2 xml:id="flavors-using-helpers">
<title>Flavors Helpers</title> <title>Flavors Helpers</title>
<para>To make <filename>Makefile</filename> easier to write, a <para>To make the <filename>Makefile</filename> easier to write,
few flavors helpers exist.</para> a few flavors helpers exist.</para>
<para>This list of helpers will set their variable:</para> <para>This list of helpers will set their variable:</para>

View file

@ -3663,7 +3663,7 @@ SOCKETS_USE= PHP=sockets
<row> <row>
<entry><literal>USE_PYTHON=optsuffix</literal></entry> <entry><literal>USE_PYTHON=optsuffix</literal></entry>
<entry>If the current Python version is not the default <entry>If the current Python version is not the default
one, the port will have gain version, the port will gain
<literal>PKGNAMESUFFIX=${PYTHON_PKGNAMESUFFIX}</literal>. <literal>PKGNAMESUFFIX=${PYTHON_PKGNAMESUFFIX}</literal>.
Only useful with flavors.</entry> Only useful with flavors.</entry>
</row> </row>