Compiling llvm19 on amd64 FreeBSD 13.5-R p6 failed due to a missing file: "/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/llvm/tools/gold/gold-plugin.cpp:40:10: fatal error: 'plugin-api.h' file not found 40 | #include <plugin-api.h>" Installing the devel/binutils package resolved the issue.
I believe the issue is that disabling the GOLD option is broken because there's no actual mechanism to stop the plugin from trying to build. I'm honestly not sure how this hasn't come up as a problem before. I'll commit a fix to each of the ports as I get it tested.