summaryrefslogtreecommitdiff
path: root/devel/cmake/patches
diff options
context:
space:
mode:
authormef <mef>2013-05-03 00:58:05 +0000
committermef <mef>2013-05-03 00:58:05 +0000
commit91c644b4cb2a02775de7b6b3b9263f992e096f82 (patch)
tree7020d25080544046bbe26eda856284a99fab6380 /devel/cmake/patches
parent52993a575422569c1d633ed2296d83a223453d53 (diff)
downloadpkgsrc-91c644b4cb2a02775de7b6b3b9263f992e096f82.tar.gz
PR pkg/47792
Correct install PREFIX found on Modules/CMakeGenericSystem.cmake. The example of problem was found on wip/trustedQSL (1.14)
Diffstat (limited to 'devel/cmake/patches')
-rw-r--r--devel/cmake/patches/patch-Modules_CMakeGenericSystem.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/cmake/patches/patch-Modules_CMakeGenericSystem.cmake b/devel/cmake/patches/patch-Modules_CMakeGenericSystem.cmake
new file mode 100644
index 00000000000..dad1b821050
--- /dev/null
+++ b/devel/cmake/patches/patch-Modules_CMakeGenericSystem.cmake
@@ -0,0 +1,15 @@
+$NetBSD: patch-Modules_CMakeGenericSystem.cmake,v 1.1 2013/05/03 00:58:07 mef Exp $
+
+Correct Install PREFIX, see SUBST_CLASSES+= prefix in Makefile
+
+--- Modules/CMakeGenericSystem.cmake.orig 2012-11-01 00:32:05.000000000 +0900
++++ Modules/CMakeGenericSystem.cmake 2013-05-01 23:45:47.000000000 +0900
+@@ -166,7 +166,7 @@ endif()
+
+ # Choose a default install prefix for this platform.
+ if(CMAKE_HOST_UNIX)
+- set(CMAKE_INSTALL_PREFIX "/usr/local"
++ set(CMAKE_INSTALL_PREFIX "@PREFIX@"
+ CACHE PATH "Install path prefix, prepended onto install directories.")
+ else()
+ GetDefaultWindowsPrefixBase(CMAKE_GENERIC_PROGRAM_FILES)