aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Johnson <AdamJohnso@gmail.com>2020-12-12 18:38:14 -0500
committerGitHub <noreply@github.com>2020-12-12 15:38:14 -0800
commit81b67c387848731aefacc19aea7f41364e5d5ba2 (patch)
tree1bf166e0e6601eb00a5bf82a04cfe2bae6f817d9
parentc77aad39199b7199be05d3bef7814c01405f3140 (diff)
downloadvcpkg-81b67c387848731aefacc19aea7f41364e5d5ba2.tar.gz
vcpkg-81b67c387848731aefacc19aea7f41364e5d5ba2.zip
[hyperscan] Remove erroneous python3 dependency. (#15080)
-rw-r--r--ports/hyperscan/CONTROL4
-rw-r--r--ports/hyperscan/portfile.cmake3
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/hyperscan/CONTROL b/ports/hyperscan/CONTROL
index ff18d2c9a..3c6e5e956 100644
--- a/ports/hyperscan/CONTROL
+++ b/ports/hyperscan/CONTROL
@@ -1,5 +1,7 @@
Source: hyperscan
Version: 5.3.0
+Port-Version: 1
Homepage: https://www.hyperscan.io
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-crc, 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, pcre, python3, ragel
+Build-Depends: boost-array, boost-chrono, boost-config, boost-core, boost-crc, 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, pcre, ragel
+Supports: !arm
diff --git a/ports/hyperscan/portfile.cmake b/ports/hyperscan/portfile.cmake
index a52ef7d89..2aec198d3 100644
--- a/ports/hyperscan/portfile.cmake
+++ b/ports/hyperscan/portfile.cmake
@@ -13,12 +13,11 @@ vcpkg_from_github(
)
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}
PREFER_NINJA
+ OPTIONS "-DPYTHON_EXECUTABLE=${PYTHON3}"
)
vcpkg_install_cmake()