aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-07-06 12:20:02 -0700
committerGitHub <noreply@github.com>2020-07-06 12:20:02 -0700
commitb6d4c4e2bff290c2ae16a8aedf6a716557d270b3 (patch)
tree4122ed5fb2466e96154e45abf6f261dc0ebe243d
parenta2a16ae7d5c8cf53d4262aa3146f623bb1caca85 (diff)
downloadvcpkg-b6d4c4e2bff290c2ae16a8aedf6a716557d270b3.tar.gz
vcpkg-b6d4c4e2bff290c2ae16a8aedf6a716557d270b3.zip
[opencc] Fix regression on pipeline (#12246)
* debug opencc regression on pipeline * Get the build logs. * [opencc] Remove debug code, add DISABLE_PARALLEL to configure * [opencc] Remove apply patch * Update portfile.cmake
-rw-r--r--ports/opencc/CONTROL17
-rw-r--r--ports/opencc/portfile.cmake6
2 files changed, 13 insertions, 10 deletions
diff --git a/ports/opencc/CONTROL b/ports/opencc/CONTROL
index 49765c5b9..ab49052f0 100644
--- a/ports/opencc/CONTROL
+++ b/ports/opencc/CONTROL
@@ -1,8 +1,9 @@
-Source: opencc
-Version: 2020-04-26-6
-Description: A project for conversion between Traditional and Simplified Chinese
-Homepage: https://github.com/BYVoid/OpenCC
-Supports: !(arm|arm64|uwp)
-
-Feature: tools
-Description: Build OpenCC command-line tools
+Source: opencc
+Version: 2020-04-26
+Port-Version: 7
+Description: A project for conversion between Traditional and Simplified Chinese
+Homepage: https://github.com/BYVoid/OpenCC
+Supports: !(arm|arm64|uwp)
+
+Feature: tools
+Description: Build OpenCC command-line tools
diff --git a/ports/opencc/portfile.cmake b/ports/opencc/portfile.cmake
index 0d6b2a439..c67b2d33f 100644
--- a/ports/opencc/portfile.cmake
+++ b/ports/opencc/portfile.cmake
@@ -19,7 +19,9 @@ vcpkg_configure_cmake(
-DENABLE_GTEST=OFF
)
-vcpkg_install_cmake()
+vcpkg_install_cmake(
+ DISABLE_PARALLEL
+)
vcpkg_copy_pdbs()
@@ -47,4 +49,4 @@ endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file