How do I "upgrade" from deprecated KNOBS?

John Marshall john.marshall at riverwillow.com.au
Thu Sep 19 02:41:35 UTC 2013


On Wed, 18 Sep 2013, 19:46 -0500, Scot Hetzel wrote:
> On Wed, Sep 18, 2013 at 6:04 PM, John Marshall
> > Any pointers?

> From Mk/bsd.options.mk

Thank you Scot.  bsd.options.mk is not usually my first port of call for
documentation of a user option.  Is somebody able, please, to get this
optionsNG documentation into the Handbook or some other user reference,
or even the Porter's Handbook before deprecating the current KNOBS
method?

> The message could have been clearer if it had said:
> 
> WITHOUT_X11 is deprecated use OPTIONS_UNSET+=X11 instead

Definitely.  That would be a big help.

> Looks like WITHOUT_X11 and WITHOUT_NLS were commented out in r327582
> of bsd.sanity.mk.  So you don't have to switch yet.

The commit log for r327582 gives me the impression that it might
actually not be a good thing to remove the old KNOBS just yet.

As an experiment I changed that system's make.conf as follows and the
warnings went away (ports tree is at r327576)

 -WITHOUT_CUPS=
 -WITHOUT_X11=
 +OPTIONS_UNSET+=	CUPS X11

I'll put make.conf back the way it was, upgrade the ports tree, and wait
until I see those messages again.

Thank you Bryan and Scot for your help.

-- 
John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130919/e3dbaaae/attachment.sig>


More information about the freebsd-ports mailing list