>Number: 176836 >Category: docs >Synopsis: [patch] porters-handbook: remove information on deprecated >OPTIONS framework >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 11 07:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jason Helfman >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247807: Mon Mar 4 19:35:47 UTC 2013 pe...@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64
>Description: It is no longer necessary to mention old-style of port options. This patch removes it. >How-To-Repeat: >Fix: Index: books/porters-handbook/book.xml =================================================================== --- books/porters-handbook/book.xml (revision 41156) +++ books/porters-handbook/book.xml (working copy) @@ -4574,27 +4574,6 @@ .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> >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"