Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2013 12:41:29 +1000
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        freebsd-ports@freebsd.org
Subject:   Re: How do I "upgrade" from deprecated KNOBS?
Message-ID:  <20130919024129.GD14654@rwpc15.gfn.riverwillow.net.au>
In-Reply-To: <CACdU%2Bf_9cifpgafHeS6-c1qbHUjCagOx%2Bg23JcDd1pQKD2tpNQ@mail.gmail.com>
References:  <20130918230458.GC14654@rwpc15.gfn.riverwillow.net.au> <CACdU%2Bf_9cifpgafHeS6-c1qbHUjCagOx%2Bg23JcDd1pQKD2tpNQ@mail.gmail.com>

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

--zx4FCpZtqtKETZ7O
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> WITHOUT_X11 is deprecated use OPTIONS_UNSET+=3DX11 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=3D
 -WITHOUT_X11=3D
 +OPTIONS_UNSET+=3D	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.

--=20
John Marshall

--zx4FCpZtqtKETZ7O
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iEYEARECAAYFAlI6ZFkACgkQw/tAaKKahKJQIwCfVQHPE3qBOMLDLvB7oOWrIaym
GqMAoMuXs5SPsXFMo0XQ5N6dieWk2H5H
=Z/ER
-----END PGP SIGNATURE-----

--zx4FCpZtqtKETZ7O--



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