OPTIONS_SUB supports SUB_LIST now.
Sponsored by: Absolight
This commit is contained in:
parent
e68f2b0ad5
commit
551ed207ec
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44355
1 changed files with 6 additions and 2 deletions
|
@ -3675,7 +3675,8 @@ FOO_CONFIGURE_ENABLE= foo</programlisting>
|
|||
<para>If <varname>OPTIONS_SUB</varname> is set to
|
||||
<literal>yes</literal> then each of the options added to
|
||||
<varname>OPTIONS_DEFINE</varname> will be added to
|
||||
<varname>PLIST_SUB</varname>, for example:</para>
|
||||
<varname>PLIST_SUB</varname> and
|
||||
<varname>SUB_LIST</varname>, for example:</para>
|
||||
|
||||
<programlisting>OPTIONS_DEFINE= OPT1
|
||||
OPTIONS_SUB= yes</programlisting>
|
||||
|
@ -3688,14 +3689,17 @@ OPTIONS_SUB= yes</programlisting>
|
|||
|
||||
.if ${PORT_OPTIONS:MOPT1}
|
||||
PLIST_SUB+= OPT1="" NO_OPT1="@comment "
|
||||
SUB_LIST+= OPT1="" NO_OPT1="@comment "
|
||||
.else
|
||||
PLIST_SUB+= OPT1="@comment " NO_OPT1=""
|
||||
SUB_LIST+= OPT1="@comment " NO_OPT1=""
|
||||
.endif</programlisting>
|
||||
|
||||
<note>
|
||||
<para>The value of <varname>OPTIONS_SUB</varname> is
|
||||
ignored. Setting it to any value will add
|
||||
<varname>PLIST_SUB</varname> entries for
|
||||
<varname>PLIST_SUB</varname> and
|
||||
<varname>SUB_LIST</varname> entries for
|
||||
<emphasis>all</emphasis> options.</para>
|
||||
</note>
|
||||
</sect3>
|
||||
|
|
Loading…
Reference in a new issue