diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/librime/Makefile | 2 | ||||
-rw-r--r-- | chinese/librime/files/patch-CMakeLists.txt | 9 | ||||
-rw-r--r-- | chinese/pyzy/Makefile | 5 |
3 files changed, 2 insertions, 14 deletions
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile index 75f9a70..bf17914 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 be56ba2..301102a 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}) diff --git a/chinese/pyzy/Makefile b/chinese/pyzy/Makefile index e83c030..19315c7 100644 --- a/chinese/pyzy/Makefile +++ b/chinese/pyzy/Makefile @@ -18,7 +18,7 @@ BROKEN= Unfetchable (google code has gone away) LIB_DEPENDS= libsqlite3.so:databases/sqlite3 -USES= compiler:c++11-lib gettext-runtime gmake libtool pkgconfig python:build shebangfix +USES= compiler:c++11-lib gettext-runtime gmake libtool pathfix pkgconfig python:build shebangfix SHEBANG_FILES= data/db/android/create_db.py USE_GNOME= glib20 USE_LDCONFIG= yes @@ -47,9 +47,6 @@ OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc post-extract-OPENPHRASE_DB-on: @${CP} ${DISTDIR}/${OPENPHRASE_DBFILE} ${WRKSRC}/data/db/open-phrase -post-patch: - @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so |