[v8] use right var (#39779)

This commit is contained in:
autoantwort 2024-07-09 19:17:11 +02:00 committed by GitHub
parent 5b6df61380
commit 7627de0377
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 6 deletions

View File

@ -28,7 +28,7 @@ vcpkg_add_to_path(PREPEND "${GIT_PATH}")
vcpkg_add_to_path(PREPEND "${PYTHON2_PATH}")
vcpkg_add_to_path(PREPEND "${GN_PATH}")
vcpkg_add_to_path(PREPEND "${NINJA_PATH}")
if(WIN32)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_acquire_msys(MSYS_ROOT PACKAGES pkg-config)
vcpkg_add_to_path("${MSYS_ROOT}/usr/bin")
endif()
@ -129,16 +129,16 @@ file(MAKE_DIRECTORY "${SOURCE_PATH}/third_party/icu")
configure_file("${CURRENT_PORT_DIR}/zlib.gn" "${SOURCE_PATH}/third_party/zlib/BUILD.gn" COPYONLY)
configure_file("${CURRENT_PORT_DIR}/icu.gn" "${SOURCE_PATH}/third_party/icu/BUILD.gn" COPYONLY)
file(WRITE "${SOURCE_PATH}/build/config/gclient_args.gni" "checkout_google_benchmark = false\n")
if(WIN32)
if(VCPKG_TARGET_IS_WINDOWS)
string(REGEX REPLACE "\\\\+$" "" WindowsSdkDir $ENV{WindowsSdkDir})
file(APPEND "${SOURCE_PATH}/build/config/gclient_args.gni" "windows_sdk_path = \"${WindowsSdkDir}\"\n")
endif()
if(UNIX)
if(VCPKG_TARGET_IS_LINUX)
set(UNIX_CURRENT_INSTALLED_DIR ${CURRENT_INSTALLED_DIR})
set(LIBS "-ldl -lpthread")
set(REQUIRES ", gmodule-2.0, gobject-2.0, gthread-2.0")
elseif(WIN32)
elseif(VCPKG_TARGET_IS_WINDOWS)
execute_process(COMMAND cygpath "${CURRENT_INSTALLED_DIR}" OUTPUT_VARIABLE UNIX_CURRENT_INSTALLED_DIR)
string(STRIP ${UNIX_CURRENT_INSTALLED_DIR} UNIX_CURRENT_INSTALLED_DIR)
set(LIBS "-lWinmm -lDbgHelp")

View File

@ -1,7 +1,7 @@
{
"name": "v8",
"version": "9.1.269.39",
"port-version": 7,
"port-version": 8,
"description": "Google Chrome's JavaScript engine",
"homepage": "https://v8.dev",
"license": "BSD-3-Clause",

View File

@ -9118,7 +9118,7 @@
},
"v8": {
"baseline": "9.1.269.39",
"port-version": 7
"port-version": 8
},
"valijson": {
"baseline": "1.0.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "179add8a5050b88cc2b9ffaf5a45954e9cfbc697",
"version": "9.1.269.39",
"port-version": 8
},
{
"git-tree": "c1c08507b831b135750030ed12b1d86e89c3462d",
"version": "9.1.269.39",