Add comments to the examples to show what some options helper will do.
Sponsored by: Absolight
This commit is contained in:
parent
6fd0057359
commit
e89cf0fcff
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44157
1 changed files with 7 additions and 2 deletions
|
@ -3516,6 +3516,7 @@ BAR_DESC= Support feature bar
|
||||||
|
|
||||||
OPTIONS_DEFAULT=FOO
|
OPTIONS_DEFAULT=FOO
|
||||||
|
|
||||||
|
# Will add --with-foo / --without-foo
|
||||||
FOO_CONFIGURE_WITH= foo
|
FOO_CONFIGURE_WITH= foo
|
||||||
BAR_RUN_DEPENDS= bar:${PORTSDIR}/bar/bar
|
BAR_RUN_DEPENDS= bar:${PORTSDIR}/bar/bar
|
||||||
|
|
||||||
|
@ -3533,7 +3534,8 @@ CONFIGURE_ARGS+=--without-examples
|
||||||
<para>Though, you should use the following so that the
|
<para>Though, you should use the following so that the
|
||||||
configure knob is really enabled and disabled when the
|
configure knob is really enabled and disabled when the
|
||||||
option is.</para>
|
option is.</para>
|
||||||
<programlisting>EXAMPLES_CONFIGURE_WITH= examples</programlisting>
|
<programlisting># Will add --with-examples / --without-examples
|
||||||
|
EXAMPLES_CONFIGURE_WITH= examples</programlisting>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
<example xml:id="ports-options-practical-use">
|
<example xml:id="ports-options-practical-use">
|
||||||
|
@ -3558,10 +3560,12 @@ SSL_DESC= Build with OpenSSL support
|
||||||
OPTIONS_DEFAULT= PGSQL LDAP SSL
|
OPTIONS_DEFAULT= PGSQL LDAP SSL
|
||||||
|
|
||||||
PGSQL_USE= pgsql=yes
|
PGSQL_USE= pgsql=yes
|
||||||
PGSQL_CONFIGURE_WITH= postgres
|
# Will add --enable-postgres / --disable-postgres
|
||||||
|
PGSQL_CONFIGURE_ENABLE= postgres
|
||||||
|
|
||||||
ICU_LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu
|
ICU_LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu
|
||||||
|
|
||||||
|
# Will add --with-examples / --without-examples
|
||||||
EXAMPLES_CONFIGURE_WITH= examples
|
EXAMPLES_CONFIGURE_WITH= examples
|
||||||
|
|
||||||
# Check other OPTIONS
|
# Check other OPTIONS
|
||||||
|
@ -3639,6 +3643,7 @@ CONFIGURE_ARGS+= --enable-foo
|
||||||
<title>Correct Handling of an Option</title>
|
<title>Correct Handling of an Option</title>
|
||||||
|
|
||||||
<programlisting>FOO_LIB_DEPENDS= libfoo.so:${PORTSDIR}/devel/foo
|
<programlisting>FOO_LIB_DEPENDS= libfoo.so:${PORTSDIR}/devel/foo
|
||||||
|
# Will add --enable-foo / --disable-foo
|
||||||
FOO_CONFIGURE_ENABLE= foo</programlisting>
|
FOO_CONFIGURE_ENABLE= foo</programlisting>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue