When I replace security/mbedtls with security/mbedtls3 in multimedia/obs-studio and in multimedia/librist, obs-studio fails to configure: CMake Warning (dev) at cmake/finders/FindLibrnnoise.cmake:87 (message): Failed to find Librnnoise version. Call Stack (most recent call first): plugins/obs-filters/cmake/rnnoise.cmake:7 (find_package) plugins/obs-filters/CMakeLists.txt:35 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at /usr/local/lib/cmake/MbedTLS/MbedTLSTargets.cmake:138 (message): The imported target "MbedTLS::everest" references the file "/usr/local/lib/libeverest.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/local/lib/cmake/MbedTLS/MbedTLSTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/local/lib/cmake/MbedTLS/MbedTLSConfig.cmake:27 (include) plugins/obs-outputs/CMakeLists.txt:4 (find_package) The file /usr/local/lib/libeverest.a is removed in post-install in security/mbedtls3 without any comment. /usr/local/lib/libeverest.a should probably not be removed, and it should be made to be a shared library, or some other solution should be found.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c17097fa3fad9dd1c59b116640c251f3b194af1b commit c17097fa3fad9dd1c59b116640c251f3b194af1b Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2025-01-02 14:10:24 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2025-01-02 14:17:23 +0000 security/mbedtls3: Remove more traces of libeverest and libp256m These 3rdparty libraries aren't used in the default configuration. PR: 283782 security/mbedtls3/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)