Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2013 08:45:10 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   [FreeBSD-Ports-Announce] Conversion to new options framework over
Message-ID:  <20130606064509.GI38896@ithaqua.etoilebsd.net>

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

--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--



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