ports/astro/qmapshack/files/patch-cmake_Modules_DefineInstallationPaths.cmake
Muhammad Moinur Rahman 63ae23ca43 astro/qmapshack: Update version 1.12.3=>1.13.0
- fix libproj detection: Our graphics proj is built with autotools and thus
   does not install it's cmake files. Patches provide an alternate method
   for finding libproj using pkg-config, see:
   https://sourceforge.net/p/qlandkartegt/mailman/message/36639866/
- fix a crash with current Qt when no GPS device is found (which at least for
   me is the default case): since the last Qt update, QList aborts on an
   assertion when trying to access the first element of an empty list.

PR:		237425
Submitted by:	cmt
2019-04-21 18:09:48 +00:00

11 lines
354 B
CMake

--- cmake/Modules/DefineInstallationPaths.cmake.orig 2018-09-08 09:17:56 UTC
+++ cmake/Modules/DefineInstallationPaths.cmake
@@ -97,7 +97,7 @@ if (UNIX)
FORCE
)
SET(MAN_INSTALL_DIR
- "${SHARE_INSTALL_PREFIX}/man"
+ "${CMAKE_INSTALL_PREFIX}/man"
CACHE PATH "The ${_PROJECT_NAME} man install dir (default prefix/man)"
FORCE
)