svn commit: r41165 - head/en_US.ISO8859-1/books/porters-handbook
Eitan Adler
eadler at FreeBSD.org
Mon Mar 11 20:55:24 UTC 2013
Author: eadler
Date: Mon Mar 11 20:55:24 2013
New Revision: 41165
URL: http://svnweb.freebsd.org/changeset/doc/41165
Log:
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)
Modified:
head/en_US.ISO8859-1/books/porters-handbook/book.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/book.xml Mon Mar 11 20:55:21 2013 (r41164)
+++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Mon Mar 11 20:55:24 2013 (r41165)
@@ -4574,27 +4574,6 @@ CONFIGURE_ARGS+= --without-examples
.include <bsd.port.mk></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 <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>
More information about the svn-doc-head
mailing list