diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-10-21 15:21:13 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-10-21 15:21:13 +0000 |
commit | a0bcd2cf684ff6bc2faf242e6678282f20a3ee44 (patch) | |
tree | a5029ff30555b3a7ee0621f4dd5aacb832fde1d8 /chinese/librime | |
parent | b7fb6d6f05e67910c9ecd4b0e0e1e0a130f8f54f (diff) | |
download | ports-a0bcd2cf684ff6bc2faf242e6678282f20a3ee44.tar.gz ports-a0bcd2cf684ff6bc2faf242e6678282f20a3ee44.zip |
Notes
Diffstat (limited to 'chinese/librime')
-rw-r--r-- | chinese/librime/Makefile | 2 | ||||
-rw-r--r-- | chinese/librime/files/patch-CMakeLists.txt | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile index 75f9a70fa1f1..bf17914e2e6a 100644 --- a/chinese/librime/Makefile +++ b/chinese/librime/Makefile @@ -19,7 +19,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libopencc.so:chinese/opencc \ libyaml-cpp.so:devel/yaml-cpp -USES= cmake compiler:c++11-lib pkgconfig gettext perl5 +USES= cmake compiler:c++11-lib pathfix pkgconfig gettext perl5 USE_PERL5= build patch USE_LDCONFIG= yes USE_XORG= xproto diff --git a/chinese/librime/files/patch-CMakeLists.txt b/chinese/librime/files/patch-CMakeLists.txt index be56ba257543..301102a5a69d 100644 --- a/chinese/librime/files/patch-CMakeLists.txt +++ b/chinese/librime/files/patch-CMakeLists.txt @@ -9,15 +9,6 @@ # uninstall target configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" -@@ -142,7 +142,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") - ${PROJECT_BINARY_DIR}/rime.pc - @ONLY) - install(FILES include/rime_api.h DESTINATION include) -- install(FILES ${PROJECT_BINARY_DIR}/rime.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) -+ install(FILES ${PROJECT_BINARY_DIR}/rime.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig) - install(FILES cmake/RimeConfig.cmake DESTINATION share/cmake/rime) - if(BUILD_DATA) - install(FILES ${PROJECT_SOURCE_DIR}/data/default.yaml DESTINATION ${pkgdatadir}) @@ -153,7 +153,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml) install(FILES ${supplement_schema} DESTINATION ${pkgdatadir}) |