Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 08:34:25 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        "Morse, Richard E.,MGH" <REMORSE@mgh.harvard.edu>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: Configuring options/knobs without `make config`
Message-ID:  <CAJuc1zP0knn_vc8gn=uhCu6s7R%2Bucy6J3-iUynpGmq_9YGY59g@mail.gmail.com>
In-Reply-To: <FDB0E2C9-61D4-4C3C-957A-3AA152692FDE@mgh.harvard.edu>
References:  <9D4E0A60-FBAA-43A2-81C5-4CE9C7C90353@mgh.harvard.edu> <CAN6yY1snZchKucCgAR44LB_M-LDPF5gfqkinTXMYw=Vq8UMggg@mail.gmail.com> <5c1e81b7-dd42-f557-0cdc-d62010f6d7bc@heuristicsystems.com.au> <4E72F0FE-A80D-4E34-94AD-6736D27F788A@mgh.harvard.edu> <CAJuc1zP7sx_iubJVNuTAWq=64k-9i9q56TN=%2BhGvPWspH-wc2w@mail.gmail.com> <FDB0E2C9-61D4-4C3C-957A-3AA152692FDE@mgh.harvard.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1 August 2017 at 08:16, Morse, Richard E.,MGH
<REMORSE@mgh.harvard.edu> wrote:
> On Jul 31, 2017, at 4:06 PM, Jonathan Chen <jonc@chen.org.nz> wrote:
>>
>> Here's a quick run down on the change:
>>  https://forums.freebsd.org/threads/52871/
>>
>> The portconf features have been baked into the ports system, and you
>> can set/unset options within /etc/make.conf, eg:
>>
>> graphics_atril_SET=3D            DVI T1LIB
>> mail_thunderbird_UNSET=3D PULSEAUDIO
>
> Out of curiosity, is there a global way to disable X11 (say) in this? Is =
that documented anywhere?
>
> In portconf, I was able to add a line:
>
>         *: WITHOUT_X11=3D=E2=80=9CYES=E2=80=9D
>
> and it would (hopefully) suppress X11. Do I need to add
>
>         port_UNSET=3D X11
>
> for every port that will get installed?

Try:
OPTIONS_UNSET=3D X11

Multiple options can also be set, eg:
OPTIONS_UNSET=3D X11 NLS DOCS

Cheers.
--=20
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zP0knn_vc8gn=uhCu6s7R%2Bucy6J3-iUynpGmq_9YGY59g>