Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 23:00:37 +0700
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        ports@freebsd.org
Subject:   Proposal: further OptionsNG improvements
Message-ID:  <20130618160037.GA26677@regency.nsu.ru>

next in thread | raw e-mail | index | archive | help
Hi there,

Now as I understand old-skool OPTIONS knob support is removed, can we do
something about ugliness of newish OPTIONS_DEFINE[_arch]/OPTIONS_DEFAULT
[_arch] pair of knobs?

I am thinking about the following syntax (using now free-again OPTIONS
knob, instead of several OPTIONS_DEFINE/OPTIONS_DEFAULT definitions):

  OPTIONS=	FOO:on BAR ASM/i386,amd64:on,powerpc ...

Ditto for OPTIONS_RADIO et al.  This will also be kind of reminiscent to
existing USE_AUTOCONF and recently added USES knob.

It can get a bit hard to parse for architecture-specific options, but they
appear relatively rare, yet for most cases new syntax seems cleaner to me.

What do people think?  I'd like to gather some opinions before trying to
sit down and write a patch (unless someone(tm) beats me on it).

./danfe



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