GNUInstallDirs: FreeBSD CMAKE_INSTALL_FULL_LOCALSTATEDIR should be /var, not /usr/local/var
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
Downstream bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267748