Configuring options/knobs without `make config`

Jonathan Chen jonc at chen.org.nz
Mon Jul 31 20:34:27 UTC 2017


On 1 August 2017 at 08:16, Morse, Richard E.,MGH
<REMORSE at mgh.harvard.edu> wrote:
> On Jul 31, 2017, at 4:06 PM, Jonathan Chen <jonc at 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=            DVI T1LIB
>> mail_thunderbird_UNSET= 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=“YES”
>
> and it would (hopefully) suppress X11. Do I need to add
>
>         port_UNSET= X11
>
> for every port that will get installed?

Try:
OPTIONS_UNSET= X11

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

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-ports mailing list