Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Oct 2021 12:52:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258946] libfmt port installs a broken CMake config file
Message-ID:  <bug-258946-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258946

            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.=20=20

Because the FreeBSD compilers and linkers do not search the OS default inst=
all
locations for headers or libraries, this file needs to add them.  It does n=
ot,
and so CMake happily reports that fmt is found, but fails to link it.=20=20

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 nee=
d to
work around this.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258946-7788>