--- CMakeLists.txt.orig 2023-10-24 17:35:08 UTC +++ CMakeLists.txt @@ -552,7 +552,7 @@ IF (NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "") IF (NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "") SET (MANDIR "$ENV{MANDIR}") -ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD") +ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "NetBSD") SET (MANDIR "man") ELSE(NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "") SET (MANDIR "share/man")