On Sat, 28 Jun 2025 02:00:41 +0100
Jamie Landeg-Jones <[email protected]> wrote:

> Chris <[email protected]> wrote:
> 
> > There is however, another option that effectively gives you the end result
> > you hope to achieve; make --config-recursive. You will need to repeat this
> > command until you no longer get config dialogs. Once complete, the results
> > can only relied upon for your current ports tree. Any git pull/tree 
> 
> He was asking about flavours. If you're using options, You can actually do
> it globally. I'm not sure if options will work in "voids" use-case, but
> this is how it's done:
> 
> # Override specific 'dialog' ports options using the following on the
> # command-line anywhere below the "/usr/ports/" tree, or in /etc/make.conf
> #
> # ${port}_SET_FORCE   - List of options to enable (overriding each
> #                       specific setting in the ports options file)
> # ${port}_UNSET_FORCE - List of options to disable (overriding each
> #                       specific setting in the ports options file)
> #
> # For global overrides, use "OPTIONS_SET_FORCE" and "OPTIONS_UNSET_FORCE"
> # variables, as appropriate. Don't forget, you probably want to use "+="
> # rather than "=" when you define them!
> #
> #  E.G:
> #
> # # x11/xterm:
> # # ~~~~~~~~~
> # x11_xterm_SET_FORCE= PCRE 256COLOR
> # x11_xterm_UNSET_FORCE= LUIT WCHAR
> #
> # Global:
> #
> # OPTIONS_SET_FORCE+= IPV6 OPTIMIZED_CFLAGS
> #  
> # # -- SSL - Enable usage of ca_root_nss wherever possible:
> # OPTIONS_SET_FORCE+= CA_BUNDLE
> #
> # # -- Native Language Support:
> # OPTIONS_SET_FORCE+= NLS
> 
> Cheers, Jamie

For flavors, the easiest (but resource intensive) is to build all
flavors.

Options are for "customized builds, single resulting installation / pkg
for single origin" basis.
OTOH, flavor is for building multiple different pkgs from single origin.

-- 
Tomoaki AOKI    <[email protected]>

Reply via email to