[botan] no absolute paths (#22722)

This commit is contained in:
autoantwort 2022-01-24 23:59:19 +01:00 committed by GitHub
parent ff5bd0828c
commit b991f18cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View File

@ -176,6 +176,7 @@ endif()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "#define BOTAN_INSTALL_PREFIX R\"(${CURRENT_PACKAGES_DIR})\"" "")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "#define BOTAN_INSTALL_LIB_DIR R\"(${CURRENT_PACKAGES_DIR}\\lib)\"" "")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "#define BOTAN_INSTALL_LIB_DIR R\"(${CURRENT_PACKAGES_DIR}/lib)\"" "")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "--prefix=${CURRENT_PACKAGES_DIR}" "")
file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,9 +1,10 @@
{
"name": "botan",
"version": "2.18.1",
"port-version": 6,
"port-version": 7,
"description": "A cryptography library written in C++11",
"homepage": "https://botan.randombit.net",
"license": "BSD-2-Clause",
"supports": "!(windows & arm)",
"features": {
"amalgamation": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dfbd885e94b11d3b8074d96c92e810a0f1a7be7a",
"version": "2.18.1",
"port-version": 7
},
{
"git-tree": "928c19e302d27840225477d4e4b183ca9bd76ea8",
"version": "2.18.1",

View File

@ -1126,7 +1126,7 @@
},
"botan": {
"baseline": "2.18.1",
"port-version": 6
"port-version": 7
},
"box2d": {
"baseline": "2.4.1",