How can I override global OPTIONS_UNSET for specific port in make.conf? www/xcache

Miroslav Lachman 000.fbsd at quip.cz
Thu Jun 19 23:18:52 UTC 2014


Marco Steinbach wrote:
> Miroslav Lachman schrieb:
>> I don't need DOCS, EXAMPLES etc. for each port as I normaly do not use
>> them on servers.
>> I have this line in make.conf
>>
>> OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS
>>
>> Now I need www/xcache port installed with EXAMPLES.
>> I tried following in make.conf:
>>
>> xcache_SET= EXAMPLES
>>
>> or
>>
>> xcache_SET_FORCE= EXAMPLES
>>
>> In both cases, xcache is installed without EXAMPLES.
>>
>> So how can I have globally disabled EXAMPLES and enable it only for
>> one specific port?
>
> After some testing, I think this could be a bug in the handling of
> PORTEXAMPLES / PORTDOCS, since flipping EXAMPLES / DOCS options (and any
> other options I tried) with these switches works as expected.
>
> I'll try and have a go at this.

Thank you for your investigation. I didn't have a time to go that deep 
in to this problem so I asked on the mailing list if I am doing 
something wrong or not.
I will try to take a closer look this weekend.

Miroslav Lachman


More information about the freebsd-ports mailing list