Remove old style options from the porter's handbook.
It is increasingly unused as most ports have been converted. PR: docs/176836 Submitted by: jgh Reviewed by: bapt Approved by: bcr (mentor)
This commit is contained in:
parent
8ab44c6ca9
commit
f9e97bc875
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41165
1 changed files with 0 additions and 21 deletions
|
@ -4574,27 +4574,6 @@ CONFIGURE_ARGS+= --without-examples
|
||||||
.include <bsd.port.mk></programlisting>
|
.include <bsd.port.mk></programlisting>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
<example id="ports-options-old-style-use">
|
|
||||||
<title>Old-Style Use of <makevar>OPTIONS</makevar></title>
|
|
||||||
|
|
||||||
<programlisting>OPTIONS= FOO "Enable option foo" On
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if defined(WITHOUT_FOO)
|
|
||||||
CONFIGURE_ARGS+= --without-foo
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --with-foo
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk></programlisting>
|
|
||||||
</example>
|
|
||||||
|
|
||||||
<important>
|
|
||||||
<para>This method of using <makevar>OPTIONS</makevar>
|
|
||||||
is deprecated, and will be removed at some point.
|
|
||||||
Do not use this method for new ports.</para>
|
|
||||||
</important>
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3>
|
<sect3>
|
||||||
|
|
Loading…
Reference in a new issue