[pcre2] no absolute paths (#21710)

This commit is contained in:
autoantwort 2021-11-30 02:22:15 +01:00 committed by GitHub
parent 304b9a0268
commit c53bd66ec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View File

@ -17,7 +17,7 @@ else()
endif()
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_STATIC_LIBS=${BUILD_STATIC}
-DPCRE2_BUILD_PCRE2_8=ON
@ -54,6 +54,9 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
if(BUILD_STATIC)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
elseif(VCPKG_TARGET_IS_WINDOWS)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/pcre2-config" "${CURRENT_PACKAGES_DIR}" "`dirname $0`/..")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/pcre2-config" "${CURRENT_PACKAGES_DIR}" "`dirname $0`/../..")
endif()
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,7 @@
{
"name": "pcre2",
"version": "10.39",
"port-version": 1,
"description": "Regular Expression pattern matching using the same syntax and semantics as Perl 5.",
"homepage": "https://github.com/PhilipHazel/pcre2",
"dependencies": [

View File

@ -5178,7 +5178,7 @@
},
"pcre2": {
"baseline": "10.39",
"port-version": 0
"port-version": 1
},
"pdal": {
"baseline": "1.7.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b25437749e0bcdd96807c66a8fc8764382c55203",
"version": "10.39",
"port-version": 1
},
{
"git-tree": "a7adfd692604527d08dfc188301fb73bae107550",
"version": "10.39",