[Bug 267748] devel/cmake-core: CMAKE_INSTALL_FULL_LOCALSTATEDIR points to /usr/local/var which is invalid on FreeBSD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 13 19:46:54 GMT 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267748

            Bug ID: 267748
           Summary: devel/cmake-core: CMAKE_INSTALL_FULL_LOCALSTATEDIR
                    points to /usr/local/var which is invalid on FreeBSD
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: yuri at freebsd.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

CMakeLists.txt:
> include(GNUInstallDirs)
> message("CMAKE_INSTALL_FULL_LOCALSTATEDIR=${CMAKE_INSTALL_FULL_LOCALSTATEDIR}")

prints:
> CMAKE_INSTALL_FULL_LOCALSTATEDIR=/usr/local/var

It should be /var because system doesn't have the /usr/local/var directory, and
the ports framework prints this warning:
> Warning: port uses /usr/local/var instead of /var

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


More information about the kde-freebsd mailing list