Replace all X by OPT in the options part of the Makefile chapter.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-04-14 16:11:10 +00:00
parent 611255a995
commit 281a0f50da
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44552

View file

@ -3842,11 +3842,11 @@ SUB_LIST+= OPT1="@comment " NO_OPT1=""
</sect3>
<sect3 xml:id="options-use">
<title><varname><replaceable>X</replaceable>_USE</varname></title>
<title><varname><replaceable>OPT</replaceable>_USE</varname></title>
<para>For each
<literal><replaceable>key</replaceable>=<replaceable>value</replaceable></literal>
pair in <varname><replaceable>X</replaceable>_USE</varname>
pair in <varname><replaceable>OPT</replaceable>_USE</varname>
the corresponding
<varname>USE_<replaceable>KEY</replaceable></varname>
variable will be set to <replaceable>value</replaceable>.
@ -3870,17 +3870,17 @@ USE_XORG= x11 xextproto xext xrandr
</sect3>
<sect3 xml:id="options-configure_enable">
<title><varname><replaceable>X</replaceable>_CONFIGURE_ENABLE</varname></title>
<title><varname><replaceable>OPT</replaceable>_CONFIGURE_ENABLE</varname></title>
<para>If
<varname><replaceable>X</replaceable>_CONFIGURE_ENABLE</varname>
<varname><replaceable>OPT</replaceable>_CONFIGURE_ENABLE</varname>
is set then
<literal>--enable-${<replaceable>X</replaceable>_CONFIGURE_ENABLE}</literal>
<literal>--enable-${<replaceable>OPT</replaceable>_CONFIGURE_ENABLE}</literal>
or
<literal>--disable-${<replaceable>X</replaceable>_CONFIGURE_ENABLE}</literal>
<literal>--disable-${<replaceable>OPT</replaceable>_CONFIGURE_ENABLE}</literal>
will be added to <varname>CONFIGURE_ARGS</varname> depending
on the value of the
option <literal><replaceable>X</replaceable></literal>, for
option <literal><replaceable>OPT</replaceable></literal>, for
example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -3900,17 +3900,17 @@ CONFIGURE_ARGS+= --disable-test
</sect3>
<sect3 xml:id="options-configure_with">
<title><varname><replaceable>X</replaceable>_CONFIGURE_WITH</varname></title>
<title><varname><replaceable>OPT</replaceable>_CONFIGURE_WITH</varname></title>
<para>If
<varname><replaceable>X</replaceable>_CONFIGURE_WITH</varname>
<varname><replaceable>OPT</replaceable>_CONFIGURE_WITH</varname>
is set then
<literal>--with-${<replaceable>X</replaceable>_CONFIGURE_WITH}</literal>
<literal>--with-${<replaceable>OPT</replaceable>_CONFIGURE_WITH}</literal>
or
<literal>--without-${<replaceable>X</replaceable>_CONFIGURE_WITH}</literal>
<literal>--without-${<replaceable>OPT</replaceable>_CONFIGURE_WITH}</literal>
will be added to <varname>CONFIGURE_ARGS</varname> depending
on the status of the option
<literal><replaceable>X</replaceable></literal>, for
<literal><replaceable>OPT</replaceable></literal>, for
example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -3930,13 +3930,13 @@ CONFIGURE_ARGS+= --without-test
</sect3>
<sect3 xml:id="options-configure_on">
<title><varname><replaceable>X</replaceable>_CONFIGURE_ON</varname></title>
<title><varname><replaceable>OPT</replaceable>_CONFIGURE_ON</varname></title>
<para>If
<varname><replaceable>X</replaceable>_CONFIGURE_ON</varname>
<varname><replaceable>OPT</replaceable>_CONFIGURE_ON</varname>
is set then its value will be appended to
<varname>CONFIGURE_ARGS</varname> depending on the status of
the option <literal><replaceable>X</replaceable></literal>,
the option <literal><replaceable>OPT</replaceable></literal>,
for example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -3954,13 +3954,13 @@ CONFIGURE_ARGS+= --add-test
</sect3>
<sect3 xml:id="options-configure_off">
<title><varname><replaceable>X</replaceable>_CONFIGURE_OFF</varname></title>
<title><varname><replaceable>OPT</replaceable>_CONFIGURE_OFF</varname></title>
<para>If
<varname><replaceable>X</replaceable>_CONFIGURE_OFF</varname>
<varname><replaceable>OPT</replaceable>_CONFIGURE_OFF</varname>
is set then its value will be appended to
<varname>CONFIGURE_ARGS</varname> depending on the status of
the option <literal><replaceable>X</replaceable></literal>,
the option <literal><replaceable>OPT</replaceable></literal>,
for example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -3978,13 +3978,13 @@ CONFIGURE_ARGS+= --no-test
</sect3>
<sect3 xml:id="options-cmake_on">
<title><varname><replaceable>X</replaceable>_CMAKE_ON</varname></title>
<title><varname><replaceable>OPT</replaceable>_CMAKE_ON</varname></title>
<para>If
<varname><replaceable>X</replaceable>_CMAKE_ON</varname> is
<varname><replaceable>OPT</replaceable>_CMAKE_ON</varname> is
set then its value will be appended to
<varname>CMAKE_ARGS</varname> depending on the status of the
option <literal><replaceable>X</replaceable></literal>, for
option <literal><replaceable>OPT</replaceable></literal>, for
example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -4002,13 +4002,13 @@ CMAKE_ARGS+= -DTEST:BOOL=true
</sect3>
<sect3 xml:id="options-cmake_off">
<title><varname><replaceable>X</replaceable>_CMAKE_OFF</varname></title>
<title><varname><replaceable>OPT</replaceable>_CMAKE_OFF</varname></title>
<para>If
<varname><replaceable>X</replaceable>_CMAKE_OFF</varname> is
<varname><replaceable>OPT</replaceable>_CMAKE_OFF</varname> is
set then its value will be appended to
<varname>CMAKE_ARGS</varname> depending on the status of the
option <literal><replaceable>X</replaceable></literal>, for
option <literal><replaceable>OPT</replaceable></literal>, for
example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -4061,14 +4061,14 @@ CMAKE_ARGS+= -DTEST:BOOL=false
</itemizedlist>
<sect4>
<title><varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname></title>
<title><varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname></title>
<para>If
<varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>
<varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>
is defined then its value will be appended to
<literal><replaceable>ABOVEVARIABLE</replaceable></literal>
depending on the status of the option
<literal><replaceable>X</replaceable></literal>, for
<literal><replaceable>OPT</replaceable></literal>, for
example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -4087,14 +4087,14 @@ LIB_DEPENDS+= liba.so:${PORTSDIR}/devel/a
</sect4>
<sect4>
<title><varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname></title>
<title><varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname></title>
<para>If
<varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname>
<varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname>
is set then a dependency of type
<literal><replaceable>ABOVEVARIABLE</replaceable></literal>
will be added when option
<literal><replaceable>X</replaceable></literal> is not
<literal><replaceable>OPT</replaceable></literal> is not
selected. For example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -4234,14 +4234,14 @@ DOCS_ALL_TARGET= doc</programlisting>
</warning>
<sect4>
<title><varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname></title>
<title><varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname></title>
<para>If
<varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>
<varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>
is defined then its value will be appended to
<literal><replaceable>ABOVEVARIABLE</replaceable></literal>
depending on the status of the option
<literal><replaceable>X</replaceable></literal>, for
<literal><replaceable>OPT</replaceable></literal>, for
example:</para>
<programlisting>OPTIONS_DEFINE= OPT1
@ -4261,14 +4261,14 @@ CFLAGS+= -DTEST
</sect4>
<sect4>
<title><varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname></title>
<title><varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname></title>
<para>If
<varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname>
<varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname>
is set then a flag
<literal><replaceable>ABOVEVARIABLE</replaceable></literal>
will be automatically set when option
<literal><replaceable>X</replaceable></literal> is not
<literal><replaceable>OPT</replaceable></literal> is not
selected. For example:</para>
<programlisting>OPTIONS_DEFINE= OPT1