aboutsummaryrefslogtreecommitdiff
path: root/chinese/libchewing/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2015-02-09 03:21:39 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2015-02-09 03:21:39 +0000
commit05b0fd01a5b2838b78f7ee9e6125bbac902efaa6 (patch)
tree02b28f14a4bd5f10f06b3abf2a8c07088b06a05f /chinese/libchewing/files/patch-CMakeLists.txt
parent10be4bdf3ba5708609ccff498faf2ebd132f0e92 (diff)
downloadports-05b0fd01a5b2838b78f7ee9e6125bbac902efaa6.tar.gz
ports-05b0fd01a5b2838b78f7ee9e6125bbac902efaa6.zip
Notes
Diffstat (limited to 'chinese/libchewing/files/patch-CMakeLists.txt')
-rw-r--r--chinese/libchewing/files/patch-CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/chinese/libchewing/files/patch-CMakeLists.txt b/chinese/libchewing/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..05e78f66c6be
--- /dev/null
+++ b/chinese/libchewing/files/patch-CMakeLists.txt
@@ -0,0 +1,17 @@
+--- CMakeLists.txt.orig 2015-02-08 15:09:15 UTC
++++ CMakeLists.txt
+@@ -103,6 +103,7 @@ set(TEST_BIN_DIR ${PROJECT_BINARY_DIR}/t
+
+ set(INSTALL_INC_DIR ${CMAKE_INSTALL_PREFIX}/include/chewing)
+ set(INSTALL_LIB_DIR ${CMAKE_INSTALL_PREFIX}/lib)
++set(INSTALL_LIBDATA_DIR ${CMAKE_INSTALL_PREFIX}/libdata)
+ set(INSTALL_DATA_DIR ${CMAKE_INSTALL_PREFIX}/share/libchewing)
+ set(INSTALL_INFO_DIR ${CMAKE_INSTALL_PREFIX}/share/info)
+
+@@ -428,5 +429,5 @@ install(FILES ${ALL_DATA} DESTINATION ${
+ install(FILES ${ALL_STATIC_DATA} DESTINATION ${INSTALL_DATA_DIR})
+ install(FILES ${ALL_INC} DESTINATION ${INSTALL_INC_DIR})
+ install(FILES ${PROJECT_BINARY_DIR}/chewing.pc
+- DESTINATION ${INSTALL_LIB_DIR}/pkgconfig)
++ DESTINATION ${INSTALL_LIBDATA_DIR}/pkgconfig)
+ install(TARGETS ${LIBS} DESTINATION ${INSTALL_LIB_DIR})