Some BSDs use an external compiler on some platforms, and in that case, you have a build dependency on that, and trusting trust may apply.
From [0]
"The system includes the following major components from outside suppliers:
Xenocara (based on X.Org 7.7 with xserver 21.1.11 + patches,
freetype 2.13.0,
fontconfig 2.14.2,
Mesa 23.1.9,
xterm 378,
xkeyboard-config 2.20,
fonttosfnt 1.2.3 and more)
LLVM/Clang 16.0.6 (+ patches)
GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
Perl 5.36.3 (+ patches)
NSD 4.8.0
Unbound 1.18.0
Ncurses 6.4
Binutils 2.17 (+ patches)
Gdb 6.3 (+ patches)
Awk January 22, 2024
Expat 2.6.0
zlib 1.3.1 (+ patches)
Not really, systemd was 1 way that openssh could load liblzma, but another would have been thought the selinux PAM stack. It didn't exactly rely on anything systemd specific, just that it was a (transitive) dependency to openssh.
And the entire notification stuff can also be done without linking to libsystemd, but the maintainers that added the patch I guess didn't want to reimplement it manually (now the docs have a fully functional example ready to copy-paste, but before the protocol was just explained).
So... Some other huge subsystems that OpenBSD does not include.
What's an equivalent example that could actually happen in openbsd?