From f99fcd105c45737ed7d5ac6a2e8303b4177138ef Mon Sep 17 00:00:00 2001 From: Kevin Lalumiere Date: Tue, 28 Mar 2023 17:53:57 -0400 Subject: [PATCH] Fix #30416 (#30418) --- ports/apr/portfile.cmake | 4 ++-- ports/apr/vcpkg.json | 1 + versions/a-/apr.json | 5 +++++ versions/baseline.json | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ports/apr/portfile.cmake b/ports/apr/portfile.cmake index d0debf6801..38512a4544 100644 --- a/ports/apr/portfile.cmake +++ b/ports/apr/portfile.cmake @@ -78,7 +78,7 @@ else() vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/libtool" "${CURRENT_INSTALLED_DIR}/lib" "") vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/libtool" "${CURRENT_INSTALLED_DIR}/debug/lib" "") - vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/apr_rules.mk" "${CURRENT_INSTALLED_DIR}" "$(LIBPATH)/..") + vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/apr_rules.mk" "${CURRENT_INSTALLED_DIR}" "$(INCLUDE)/..") if(NOT VCPKG_BUILD_TYPE) vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/apr-1-config" "\"${CURRENT_INSTALLED_DIR}/debug\"" "$(realpath \"`dirname $0`/../../../..\")") vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/apr-1-config" "APR_SOURCE_DIR=\"${SOURCE_PATH}\"" "") @@ -87,7 +87,7 @@ else() vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/libtool" "${CURRENT_INSTALLED_DIR}/lib" "") vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/libtool" "${CURRENT_INSTALLED_DIR}/debug/lib" "") - vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/apr_rules.mk" "${CURRENT_INSTALLED_DIR}/debug" "$(LIBPATH)/..") + vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/apr_rules.mk" "${CURRENT_INSTALLED_DIR}/debug" "$(INCLUDE)/..") endif() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") endif() diff --git a/ports/apr/vcpkg.json b/ports/apr/vcpkg.json index 499cb0ecab..5120dbb1e2 100644 --- a/ports/apr/vcpkg.json +++ b/ports/apr/vcpkg.json @@ -1,6 +1,7 @@ { "name": "apr", "version": "1.7.2", + "port-version": 1, "description": "The Apache Portable Runtime (APR) is a C library that forms a system portability layer that covers many operating systems.", "homepage": "https://apr.apache.org/", "license": "Apache-2.0", diff --git a/versions/a-/apr.json b/versions/a-/apr.json index 440e5c4c54..3a102e0dd4 100644 --- a/versions/a-/apr.json +++ b/versions/a-/apr.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "b28b577d536f3eeeb00392ce5f1f7da76f3a9eaa", + "version": "1.7.2", + "port-version": 1 + }, { "git-tree": "a68bb37ae242709eb2fab09e1326168d28ab1a56", "version": "1.7.2", diff --git a/versions/baseline.json b/versions/baseline.json index 83219c376e..a7245bbd5e 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -146,7 +146,7 @@ }, "apr": { "baseline": "1.7.2", - "port-version": 0 + "port-version": 1 }, "apr-util": { "baseline": "1.6.1",