pkgsrc/net/ocsync/patches/patch-cmake_Modules_DefineInstallationPaths.cmake
jlam 81ef1655f0 net/ocsync: Install manpages into ${PKGMANDIR}.
This project uses CMake to configure the software.  Force the
manpages to be installed into ${CMAKE_INSTALL_MANDIR}, which is
defined by the included GNUInstallDirs CMake module.  The correct
environment variables are passed so that ${CMAKE_INSTALL_MANDIR}
points into ${PKGMANDIR}.
2017-08-19 00:23:36 +00:00

15 lines
578 B
CMake

$NetBSD: patch-cmake_Modules_DefineInstallationPaths.cmake,v 1.2 2017/08/19 00:23:36 jlam Exp $
* Fix man pages destination
--- cmake/Modules/DefineInstallationPaths.cmake.orig 2013-10-18 13:11:09.000000000 +0000
+++ cmake/Modules/DefineInstallationPaths.cmake
@@ -83,7 +83,7 @@ if (UNIX)
CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
)
SET(MAN_INSTALL_DIR
- "${SHARE_INSTALL_PREFIX}/man"
+ "${CMAKE_INSTALL_MANDIR}"
CACHE PATH "The ${APPLICATION_NAME} man install dir (default prefix/man)"
)
SET(INFO_INSTALL_DIR