./options-descr file suggestion for ports

Sean C. Farley sean-freebsd at farley.org
Wed Jun 13 15:22:45 UTC 2007


On Wed, 13 Jun 2007, Vivek Khera wrote:

> On Jun 13, 2007, at 3:36 AM, Alexander Leidinger wrote:
>
>> First there where no OPTIONS, then OPTIONS was introduced. If you
>> feel annoyed by those ports which are not converted yet to OPTIONS
>> (because nobody felt annoyed enough to convert them), feel free to
>> submit patches for them.
>
> personally, I'm annoyed by ports that use OPTIONS because I cannot
> then set them globally in my make.conf file (which is copied around to
> all my servers).  I have to ensure that the proper OPTIONS are set on
> every machine on which I may build a port.
>
> Is it possible (and/or is anyone working on) a way to make the options
> setting non-interactive and pull the settings from a config file
> instead?

I use ports-mgmt/portconf.  It puts a hook into make.conf that reads it
for port configuration.  This allows make.conf to be different on each
system while having a configuration file you can copy to each system.

As for making non-interactive mode the default in ports.conf:
*: BATCH

Sean
-- 
sean-freebsd at farley.org


More information about the freebsd-ports mailing list