I recently added a LIB_DEPENDS+=libfido2 to openssh-portable. A user reported to me that there was an error. I didn't catch this because the port lacked USES+= pkgconfig but they had it installed on their system where they were building.
Current situation when built with *base* SSL:
# pkg-config --libs libfido2 -L/usr/local/lib -lfido2 -lcrypto # mv /usr/local/libdata/pkgconfig/libcrypto.pc . # pkg-config --libs libfido2 Package libcrypto was not found in the pkg-config search path. Perhaps you should add the directory containing `libcrypto.pc' to the PKG_CONFIG_PATH environment variable Package 'libcrypto', required by 'libfido2', not found