From owner-freebsd-doc@FreeBSD.ORG Mon Mar 11 07:00:00 2013 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C2988721 for ; Mon, 11 Mar 2013 07:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 91DCA96B for ; Mon, 11 Mar 2013 07:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2B700YL040073 for ; Mon, 11 Mar 2013 07:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2B700Sv040072; Mon, 11 Mar 2013 07:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 11 Mar 2013 07:00:00 GMT Resent-Message-Id: <201303110700.r2B700Sv040072@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Helfman Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 93A2E4AE; Mon, 11 Mar 2013 06:54:22 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 86311949; Mon, 11 Mar 2013 06:54:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2B6sMZh039961; Mon, 11 Mar 2013 06:54:22 GMT (envelope-from jgh@freefall.freebsd.org) Received: (from jgh@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2B6sM3I039960; Mon, 11 Mar 2013 06:54:22 GMT (envelope-from jgh) Message-Id: <201303110654.r2B6sM3I039960@freefall.freebsd.org> Date: Mon, 11 Mar 2013 06:54:22 GMT From: Jason Helfman To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: docs/176836: [patch] porters-handbook: remove information on deprecated OPTIONS framework Cc: bapt@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jason Helfman List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 07:00:00 -0000 >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 <bsd.port.mk> - - Old-Style Use of <makevar>OPTIONS</makevar> - - 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> - - - - This method of using OPTIONS - is deprecated, and will be removed at some point. - Do not use this method for new ports. - >Release-Note: >Audit-Trail: >Unformatted: