Skip to content

Commit

Permalink
[botan] no absolute paths (microsoft#22343)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Jan 7, 2022
1 parent 1a1f31c commit 3c3cce6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/botan/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
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)
2 changes: 1 addition & 1 deletion ports/botan/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "botan",
"version": "2.18.1",
"port-version": 5,
"port-version": 6,
"description": "A cryptography library written in C++11",
"homepage": "https://botan.randombit.net",
"supports": "!(windows & arm)",
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/botan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "928c19e302d27840225477d4e4b183ca9bd76ea8",
"version": "2.18.1",
"port-version": 6
},
{
"git-tree": "7a800cf24fcc51e57dedfb8782753c50305880e1",
"version": "2.18.1",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@
},
"botan": {
"baseline": "2.18.1",
"port-version": 5
"port-version": 6
},
"box2d": {
"baseline": "2.4.1",
Expand Down

0 comments on commit 3c3cce6

Please sign in to comment.