GNUInstallDirs: Update CMAKE_INSTALL_MANDIR for FreeBSD
In GNUInstallDirs.cmake, CMAKE_INSTALL_MANDIR
is set to man
for *BSD. However, for FreeBSD it's no longer correct, as the canonical location was changed to share/man
more than a year ago:
https://cgit.freebsd.org/ports/tree/CHANGES#n194
This line
https://gitlab.kitware.com/cmake/cmake/-/blob/v3.22.0-rc2/Modules/GNUInstallDirs.cmake#L329
needs an exception for FreeBSD (or more explicit pattern like (NetBSD|OpenBSD|BSD|DragonFly)
, but I'm not sure I know all actual *BSD names to list).
Edited by Brad King