summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-chewing/patches/patch-Modules_ManageEnvironmentCommon.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/ibus-chewing/patches/patch-Modules_ManageEnvironmentCommon.cmake')
-rw-r--r--inputmethod/ibus-chewing/patches/patch-Modules_ManageEnvironmentCommon.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/inputmethod/ibus-chewing/patches/patch-Modules_ManageEnvironmentCommon.cmake b/inputmethod/ibus-chewing/patches/patch-Modules_ManageEnvironmentCommon.cmake
new file mode 100644
index 00000000000..e971a6951bd
--- /dev/null
+++ b/inputmethod/ibus-chewing/patches/patch-Modules_ManageEnvironmentCommon.cmake
@@ -0,0 +1,14 @@
+$NetBSD: patch-Modules_ManageEnvironmentCommon.cmake,v 1.1 2014/12/13 06:33:15 obache Exp $
+
+* PKGLOCALEDIR support
+
+--- Modules/ManageEnvironmentCommon.cmake.orig 2014-10-28 05:05:31.000000000 +0000
++++ Modules/ManageEnvironmentCommon.cmake
+@@ -41,6 +41,7 @@ SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PA
+ SET(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Binary dir")
+ SET(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share" CACHE PATH "Data dir")
+ SET(DOC_DIR "${DATA_DIR}/doc" CACHE PATH "Doc dir")
++SET(LOCALE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LOCALEDIR}" CACHE PATH "Locale dir")
+ SET(LIBEXEC_DIR "${CMAKE_INSTALL_PREFIX}/libexec" CACHE PATH "Libexec dir")
+ SET(SYSCONF_DIR "/etc" CACHE PATH
+ "System configuration dir"