Overriding OPTIONS.

Michael Nottebrock michaelnottebrock at gmx.net
Sun Dec 5 17:16:05 PST 2004


On Monday, 6. December 2004 01:54, Lewis Thompson wrote:
> On Mon, Dec 06, 2004 at 01:49:23AM +0100, Michael Nottebrock wrote:
> > On Monday, 6. December 2004 01:29, Lewis Thompson wrote:
> > > I've not had to do this yet but I was wondering what happens when a
> > > port defines new OPTIONS choices... is there some nice way to override
> > > the usage of the options file?
> >
> > To change your saved options, run 'make config' in the portdir.
>
> Yes, I understand this, but what if I want to force a user to run make
> config because there are new OPTIONS?

I guess you could experiment with overriding or removing _OPTIONSFILE, but I 
don't think it is a good idea to force re-displaying the menu, you're bound 
to annoy users who didn't expect the menu to popup again during portupgrade. 
Just announce the new options in ports/UPDATING.

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041206/3eb7a7d5/attachment.bin


More information about the freebsd-ports mailing list