From 92a8e28f2060b7aaf3e6d4ad59682a292c4f1d2d Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 2 May 2018 09:31:19 -0500 Subject: [PATCH] Follow OpenBSD convention when installing manpages on FreeBSD Both OS install third party man pages into ${PREFIX}/man/man${SECTION}, rather than the convention established in the base system of share/man/man${SECTION}. --- cmake/InstallFreeRDPMan.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/InstallFreeRDPMan.cmake b/cmake/InstallFreeRDPMan.cmake index 8190ea126..3de200505 100644 --- a/cmake/InstallFreeRDPMan.cmake +++ b/cmake/InstallFreeRDPMan.cmake @@ -1,6 +1,6 @@ function(install_freerdp_man manpage section) if(WITH_MANPAGES) - if(OPENBSD) + if(OPENBSD OR FREEBSD) install(FILES ${manpage} DESTINATION man/man${section}) else() install(FILES ${manpage} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man${section})