[Bug 258946] libfmt port installs a broken CMake config file
Date: Tue, 05 Oct 2021 12:52:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258946 Bug ID: 258946 Summary: libfmt port installs a broken CMake config file Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: theraven@FreeBSD.org The file /usr/local/lib/cmake/fmt/fmt-config-version.cmake is installed by libfmt, on the default search path for CMake. Because the FreeBSD compilers and linkers do not search the OS default install locations for headers or libraries, this file needs to add them. It does not, and so CMake happily reports that fmt is found, but fails to link it. The correct fix for this is to add /usr/local/include and /usr/local/lib to the search paths for FreeBSD versions of clang and gcc but until then ports need to work around this. -- You are receiving this mail because: You are the assignee for the bug.