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:
Eitan Adler 2013-03-11 20:55:24 +00:00
parent 8ab44c6ca9
commit f9e97bc875
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41165

View file

@ -4574,27 +4574,6 @@ CONFIGURE_ARGS+= --without-examples
.include &lt;bsd.port.mk&gt;</programlisting>
</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 &lt;bsd.port.pre.mk&gt;
.if defined(WITHOUT_FOO)
CONFIGURE_ARGS+= --without-foo
.else
CONFIGURE_ARGS+= --with-foo
.endif
.include &lt;bsd.port.post.mk&gt;</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>