Date: Mon, 11 Mar 2013 20:55:24 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r41165 - head/en_US.ISO8859-1/books/porters-handbook Message-ID: <201303112055.r2BKtOwL089243@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303112055.r2BKtOwL089243>