Bug 176836

Summary: [patch] porters-handbook: remove information on deprecated OPTIONS framework
Product: Documentation Reporter: Jason Helfman <jgh>
Component: Books & ArticlesAssignee: Eitan Adler <eadler>
Status: Closed FIXED    
Severity: Affects Only Me CC: bapt
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jason Helfman freebsd_committer freebsd_triage 2013-03-11 07:00:00 UTC
It is no longer necessary to mention old-style of port options.
This patch removes it.
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2013-03-11 20:19:22 UTC
Approved, for portmgr part :)

regards,
Bapt
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2013-03-11 20:24:08 UTC
Responsible Changed
From-To: freebsd-doc->eadler

I'll take it.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2013-03-11 20:55:27 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-03-11 20:55:39 UTC
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 &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>
_______________________________________________
svn-doc-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"