if(CMAKE_SYSTEM_NAME MATCHES "^(.*BSD|DragonFly)$") _GNUInstallDirs_cache_path_fallback(CMAKE_INSTALL_INFODIR "info" "Info documentation (info)") _GNUInstallDirs_cache_path_fallback(CMAKE_INSTALL_MANDIR "man" "Man documentation (man)") This means that packages using GNUInstallDirs end up installing manpages to /usr/man instead of /usr/share/man. Not sure what's the most correct solution here but I think the only 'easy' way out would be to patch it out and use /usr/share locations as PMS suggests.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c4a2f5840fe8aaf876c7c414b038e036b5c981 commit 04c4a2f5840fe8aaf876c7c414b038e036b5c981 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-03-01 15:37:23 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-03-10 11:35:13 +0000 cmake-utils.eclass: Override CMAKE_INSTALL_{INFO,MAN}DIR Provide an explicit override for CMAKE_INSTALL_INFODIR and CMAKE_INSTALL_MANDIR to force Gentoo standards for those locations. This is needed for Gentoo/FreeBSD where CMake defaults to /usr/info and /usr/man; while PMS specifies /usr/share/info and /usr/share/man via econf & do* helpers. Closes: https://bugs.gentoo.org/649200 eclass/cmake-utils.eclass | 2 ++ 1 file changed, 2 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=555fcc6bd1c4572edc4477c08be224211767827a commit 555fcc6bd1c4572edc4477c08be224211767827a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-03-01 15:37:23 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2018-03-11 00:18:07 +0000 cmake-utils.eclass: Override CMAKE_INSTALL_{INFO,MAN}DIR Provide an explicit override for CMAKE_INSTALL_INFODIR and CMAKE_INSTALL_MANDIR to force Gentoo standards for those locations. This is needed for Gentoo/FreeBSD where CMake defaults to /usr/info and /usr/man; while PMS specifies /usr/share/info and /usr/share/man via econf & do* helpers. Closes: https://bugs.gentoo.org/649200 eclass/cmake-utils.eclass | 2 ++ 1 file changed, 2 insertions(+)
*** Bug 620250 has been marked as a duplicate of this bug. ***