I like this idea -- PKG_DEFAULT_OPTIONS
On Wed, Dec 20, 2023 at 2:05 PM John D. Baker <jdba...@consolidated.net> wrote: > > Use PKG_DEFAULT_OPTIONS+= to enable/disable desired/undesired options > without having to set PKG_OPTIONS.foo for every package foo that supports > those options. > > In my case: > > PKG_DEFAULT_OPTIONS+=pam ssl oss -cups -pulseaudio -alsa -dbus -gvfs -jack > PKG_DEFAULT_OPTIONS+=-wayland > > Note there are some packages which do not offer an option to enable or > disable some feature/dependency/etc. In such cases, the undesired > component or whatever is built and/or used unconditionally even if > disabled in PKG_DEFAULT_OPTIONS. > > -- > |/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X > |\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD > | X No HTML/proprietary data in email. BSD just sits there and works! > |/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645