diff options
author | John Marino <marino@FreeBSD.org> | 2015-04-18 06:17:02 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-04-18 06:17:02 +0000 |
commit | 1ea924ae5df42f53be8c473cae363bd3e70cfdd6 (patch) | |
tree | fc0c7088553a7886d14974e82c2629bcfa10245a /chinese | |
parent | 98d84254f8de1f9991d20206d06c85fbbe60d940 (diff) | |
download | ports-1ea924ae5df42f53be8c473cae363bd3e70cfdd6.tar.gz ports-1ea924ae5df42f53be8c473cae363bd3e70cfdd6.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/librime/files/patch-CMakeLists.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chinese/librime/files/patch-CMakeLists.txt b/chinese/librime/files/patch-CMakeLists.txt index 848a5176ac1c..2e10913cf103 100644 --- a/chinese/librime/files/patch-CMakeLists.txt +++ b/chinese/librime/files/patch-CMakeLists.txt @@ -1,5 +1,5 @@ ---- ./CMakeLists.txt.orig 2013-12-26 17:37:25.000000000 +0900 -+++ ./CMakeLists.txt 2014-03-26 13:02:33.000000000 +0900 +--- CMakeLists.txt.orig 2013-12-26 08:37:25 UTC ++++ CMakeLists.txt @@ -1,5 +1,5 @@ -set(CMAKE_USER_MAKE_RULES_OVERRIDE ${CMAKE_CURRENT_SOURCE_DIR}/cmake/c_flag_overrides.cmake) -set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cxx_flag_overrides.cmake) @@ -8,7 +8,7 @@ project(rime) cmake_minimum_required(VERSION 2.8) -@@ -21,6 +21,20 @@ +@@ -21,6 +21,20 @@ endif(WIN32) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) @@ -29,7 +29,7 @@ set(Boost_USE_STATIC_LIBS ${BUILD_STATIC}) set(Gflags_STATIC ${BUILD_STATIC}) set(Glog_STATIC ${BUILD_STATIC}) -@@ -82,20 +96,6 @@ +@@ -82,20 +96,6 @@ else(X11Keysym) message(WARNING "X11/keysym.h not found.") endif(X11Keysym) @@ -50,16 +50,16 @@ if(NOT DEFINED LIB_INSTALL_DIR) set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib) endif() -@@ -104,7 +104,7 @@ +@@ -104,7 +104,7 @@ if(NOT DEFINED BIN_INSTALL_DIR) set(BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin) endif() -if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") -+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") ++if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") # uninstall target configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" -@@ -120,7 +120,7 @@ +@@ -120,7 +120,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(includedir "${CMAKE_INSTALL_PREFIX}/include") configure_file(${PROJECT_SOURCE_DIR}/rime.pc.in ${PROJECT_BINARY_DIR}/rime.pc) install(FILES include/rime_api.h DESTINATION include) @@ -68,12 +68,12 @@ install(FILES cmake/RimeConfig.cmake DESTINATION share/cmake/rime) if(BUILD_DATA) install(FILES ${PROJECT_SOURCE_DIR}/data/default.yaml DESTINATION ${pkgdatadir}) -@@ -131,7 +131,7 @@ +@@ -131,7 +131,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml) install(FILES ${supplement_schema} DESTINATION ${pkgdatadir}) endif(BUILD_DATA) -endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") -+endif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") ++endif(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") if(BUILD_SHARED_LIBS) set(RIME_LIBRARY rime) |