--- CMakeLists.txt.orig 2024-11-18 19:37:59 UTC +++ CMakeLists.txt @@ -557,7 +557,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")