maintainer-feedback requested: [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


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 267748: devel/cmake-core: CMAKE_INSTALL_FULL_LOCALSTATEDIR points to
/usr/local/var which is invalid on FreeBSD
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267748



--- Description ---
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


More information about the kde-freebsd mailing list