nettester a check with every option set should pretty much be indicative of the maximum amount of dependencies being satisfied.
Yes... something like:
/home/bld/tmp/pkgsrc/audio/musicpd $ make PKG_SUGGESTED_OPTIONS='${PKG_SUPPORTED_OPTIONS}' can-be-built-here
yes
/home/bld/tmp/pkgsrc/audio/musicpd $ make PKG_SUGGESTED_OPTIONS='${PKG_SUPPORTED_OPTIONS} pipewire snapcast sid' can-be-built-here
no
This package has set PKG_FAIL_REASON:
[bsd.options.mk] The following selected options are not supported: pipewire sid snapcast.
/home/bld/tmp/pkgsrc/audio/musicpd $
(This was on NetBSD; on Ubuntu 23.10, the same bmake
command went off into the weeds eating up all of my memory...)
However, there are a few wrinkles:
a)
$ uname -a
Linux CoreBook 6.5.0-28-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 28 23:46:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ cd /tmp/pkgsrc/graphics/ImageMagick6
$ bmake PKG_SUGGESTED_OPTIONS='${PKG_SUPPORTED_OPTIONS}' can-be-built-here
yes
$
even though I don't have any of the X11 devel stuff installed on this machine. (Presumably, because pkgsrc will download and compile X11 on its own to satisfy the dependency -- I passed --prefer-pkgsrc yes
to ./bootstrap
)
And,
b) it says yes
even when all policies are selected (is this valid?):
$ bmake show-var VARNAME=PKG_SUPPORTED_OPTIONS
doc fontconfig ghostscript x11 jp2 djvu openexr wmf fpx imagemagick-policy-limited imagemagick-policy-open imagemagick-policy-secure imagemagick-policy-websafe
$ bmake show-var VARNAME=PKG_SUGGESTED_OPTIONS
doc fontconfig ghostscript x11 jp2 imagemagick-policy-open
$ bmake PKG_SUGGESTED_OPTIONS='${PKG_SUPPORTED_OPTIONS}' can-be-built-here
yes
$