diff --git a/ports/expat/portfile.cmake b/ports/expat/portfile.cmake index c0a4c6c61c1013..a8d3ed96d3e8e0 100644 --- a/ports/expat/portfile.cmake +++ b/ports/expat/portfile.cmake @@ -1,7 +1,10 @@ +vcpkg_minimum_required(VERSION 2022-10-12) +string(REPLACE "." "_" REF "R_${VERSION}") + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO libexpat/libexpat - REF R_2_5_0 + REF "${REF}" SHA512 779f0d0f3f2d8b33db0fd044864ab5ab1a40f20501f792fe90ad0d18de536c4765c3749f120e21fec11a0e6c89af1dc576d1fe261c871ca44a594f7b61fd1d9e HEAD_REF master ) diff --git a/ports/expat/vcpkg.json b/ports/expat/vcpkg.json index 66291ca535d06f..7165b1a98f5fa8 100644 --- a/ports/expat/vcpkg.json +++ b/ports/expat/vcpkg.json @@ -1,7 +1,7 @@ { "name": "expat", "version": "2.5.0", - "port-version": 1, + "port-version": 2, "description": "XML parser library written in C", "homepage": "https://github.com/libexpat/libexpat", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index be748bc88173e5..5992a4f8f24c31 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2206,7 +2206,7 @@ }, "expat": { "baseline": "2.5.0", - "port-version": 1 + "port-version": 2 }, "expected-lite": { "baseline": "0.6.2", diff --git a/versions/e-/expat.json b/versions/e-/expat.json index 93dbd851e76b54..d0d11c48752660 100644 --- a/versions/e-/expat.json +++ b/versions/e-/expat.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "fcad5bc870991726ccb6cc02760d2a5422257bbd", + "version": "2.5.0", + "port-version": 2 + }, { "git-tree": "5da852ba8ea975e8f950bf766129724327232861", "version": "2.5.0",