Ports like net/vmware-vsphere-cli use SHEBANG_FILES with globs like so:
SHEBANG_FILES= bin/* ...
As of FreeBSD 11.??? sed has changed and errors if attempted on non-file objects. In
the case of the cited port there are many other files in the bin/
directory which are symlinks for compatibility with old scripts. This
causes the port patching to fail.
Changing the SHEBANG_FILES logic to use find(1) like SHEBANG_REGEX and
SHEBANG_GLOB seems to be a sane solution with no negative impact.