aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYue <niyue.com@gmail.com>2020-01-28 05:48:45 +0800
committerVictor Romero <romerosanchezv@gmail.com>2020-01-27 13:48:45 -0800
commit141522e6ed9bfc0e17296a9cf37faa7daeb9a00c (patch)
treefe22da274622b80e69effc4b98e55759d8f5bfea
parentd19c61353d65220b9beaa7a5dfbc39967fb839e3 (diff)
downloadvcpkg-141522e6ed9bfc0e17296a9cf37faa7daeb9a00c.tar.gz
vcpkg-141522e6ed9bfc0e17296a9cf37faa7daeb9a00c.zip
[hyperscan] Update the portfile to remove debug/share file to pass post-validation check. (#9618)
-rw-r--r--ports/hyperscan/CONTROL4
-rw-r--r--ports/hyperscan/portfile.cmake10
2 files changed, 5 insertions, 9 deletions
diff --git a/ports/hyperscan/CONTROL b/ports/hyperscan/CONTROL
index 2f04703a9..ad761ba3a 100644
--- a/ports/hyperscan/CONTROL
+++ b/ports/hyperscan/CONTROL
@@ -1,4 +1,4 @@
Source: hyperscan
-Version: 5.0.1-2
+Version: 5.1.0-3
Description: A regular expression library with O(length of input) match times that takes advantage of Intel hardware to provide blazing speed.
-Build-Depends: boost-array, boost-chrono, boost-config, boost-core, boost-detail, boost-functional, boost-regex, boost-system, boost-thread, boost-type-traits, boost-unordered, boost-utility, boost-dynamic-bitset, boost-random, boost-graph, boost-multi-array, boost-icl, boost-ptr-container, python3, ragel \ No newline at end of file
+Build-Depends: boost-array, boost-chrono, boost-config, boost-core, boost-detail, boost-functional, boost-regex, boost-system, boost-thread, boost-type-traits, boost-unordered, boost-utility, boost-dynamic-bitset, boost-random, boost-graph, boost-multi-array, boost-icl, boost-ptr-container, python3, ragel
diff --git a/ports/hyperscan/portfile.cmake b/ports/hyperscan/portfile.cmake
index 2b48087ba..f9778cb73 100644
--- a/ports/hyperscan/portfile.cmake
+++ b/ports/hyperscan/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(HYPERSCAN_VERSION 5.1.0)
@@ -13,11 +11,8 @@ vcpkg_from_github(
)
vcpkg_find_acquire_program(PYTHON3)
-get_filename_component(PYTHON_PATH ${PYTHON3} DIRECTORY)
-vcpkg_add_to_path(PREPEND ${PYTHON_PATH})
-vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/bin)
-vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/debug/bin)
-vcpkg_find_acquire_program(PYTHON3)
+get_filename_component(PYTHON3_PATH ${PYTHON3} DIRECTORY)
+vcpkg_add_to_path(${PYTHON3_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
@@ -26,5 +21,6 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)