Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 06:54:22 GMT
From:      Jason Helfman <jgh@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        bapt@freebsd.org
Subject:   docs/176836: [patch] porters-handbook: remove information on deprecated OPTIONS framework
Message-ID:  <201303110654.r2B6sM3I039960@freefall.freebsd.org>
Resent-Message-ID: <201303110700.r2B700Sv040072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 peter@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 &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>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303110654.r2B6sM3I039960>