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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 13 Nov 2022 19:46:54 UTC
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@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@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.