vim picks up libcanberra if present on the system, but it is not declared as a dependency:
====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/vim is linked to /usr/local/lib/libcanberra.so.0 from audio/libcanberra but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libcanberra.so:audio/libcanberra
Notice: Please install sysutils/rubygem-bundler for additional Gemfile-checks
This has been an issue in the past, see Bug 245460.
It looks like that got removed when libgnomeui was purged. I don't think any of the available options should bring it in, so it should be safe to disable it unconditionally.
A commit in branch main references this bug:
Author: Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2021-08-02 22:32:55 +0000
Commit: Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2021-08-02 22:35:45 +0000
editors/vim: Explicitly disable libcanberra support
Vim will link against libcanberra if it's installed. It really doesn't
serve any particular purpose for a text editor, so it makes sense for
us to just disable it explicitly.
This change existed before, but was hidden in the GNOME option and got
removed when libgnomeui was purged.
Reported by: Philipp Ost
editors/vim/Makefile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Thanks for submitting this, Philipp.