From owner-freebsd-ports@FreeBSD.ORG Thu Jun 6 06:45:14 2013 Return-Path: Delivered-To: ports@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 F152B58F; Thu, 6 Jun 2013 06:45:14 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id 646561AAE; Thu, 6 Jun 2013 06:45:14 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id b13so1705878wgh.18 for ; Wed, 05 Jun 2013 23:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=8Napceo2qNmcND2j9x+hYEl2nhmtaKMESXUk/Mb1V6c=; b=FGe632xeaL8FVsKMnG3RPRQXvWZtbQnKB/b5/m6/BjItscH+S9MsW3yehVVlRjqlgs 2o0ipUi2ufwRxNr/wP/SNBlAnQ+7iNhglGOOm89xnjtCciE9Fe23yUF1A5OhvQOMTvHG 8SE+ba2R/jWsWbZDd9UXWFL22zLCn2/oBOkwP7S72W6KPqIHCwL69FCtfe36IUxsVB9F vMIIW1Ve60tUrzs9wTLdMcGNncuKFuIFTMjz4DtQBDvWFqmJB8M3xWCxAaAv22aitmic 8dYTL9HGPEwQJXEtAZRc+wGnEgivD3r1hnu1BHRfrnUTQoZq1ANCKtb1sOrJQ/nDQIem xm4Q== X-Received: by 10.181.13.112 with SMTP id ex16mr8725011wid.28.1370501113395; Wed, 05 Jun 2013 23:45:13 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id ca19sm13524113wib.3.2013.06.05.23.45.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 05 Jun 2013 23:45:12 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 6 Jun 2013 08:45:10 +0200 From: Baptiste Daroussin To: ports@FreeBSD.org Subject: Conversion to new options framework over Message-ID: <20130606064509.GI38896@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k9xkV0rc9XGsukaG" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 06:45:15 -0000 --k9xkV0rc9XGsukaG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, A year ago exactly we imported a new options framework into the ports tree. I took us a year to convert the whole ports tree to the new options framework. What we have gain with the new framework: - more consistency (one single way to check for options) - 1-N group of option - only 1 among N group of option - 0-N group of options - 0 or 1 among N group of options clean ability to set options from make.conf without collisions with src options. A new option dialog able to represent all new kind of options. Thank you everyone for the effort allowing us to do that. The compatibility code to support the old OPTIONS macro has been removed. The compatibility code to parse the old options file (saved from previous make config) will remain for 6 months. The compatibility code to parse the WITH/WITHOUT entries in make.conf will be removed in 6 months either. Do not forget to convert your configuration (make.conf, portsconf etc). A reminder will be send a month before the removal of the compatibility code. Still open task For the sake of consistency: NOPORTEXAMPLES, NOPORTDOCS and WITHOUT_NLS, should be replaced by clean options so that we can have one true consisent way to set options for the ports tree. NOPORTDATA should die. bsd.options.mk should be improved to not fireup the option dialog in case of only global options to be set. the long very old (from old options time) but still valid bug about OPTIONSFILE not being consistent in case PKGNAMEPREFIX changes (py- for example) should be fixed. Thank you all, regards, Bapt --k9xkV0rc9XGsukaG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlGwL/UACgkQ8kTtMUmk6EzbAACeNUt+ZJT8CHu5EYigYsDPVQn8 EDoAnA0NIn4g0lfo3kFvWO5sTUsMPueB =lxts -----END PGP SIGNATURE----- --k9xkV0rc9XGsukaG--