diff --git a/ports/krb5/portfile.cmake b/ports/krb5/portfile.cmake index 59b05c44c2..d698b906d7 100644 --- a/ports/krb5/portfile.cmake +++ b/ports/krb5/portfile.cmake @@ -51,7 +51,7 @@ if (VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW) ) vcpkg_copy_tools( TOOL_NAMES ${tools} - DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin" + DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin" AUTO_CLEAN ) foreach(tool_name ${tools}) @@ -112,4 +112,8 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") ) endif() +if(VCPKG_BUILD_TYPE) + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +endif() + vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/NOTICE") diff --git a/ports/krb5/vcpkg.json b/ports/krb5/vcpkg.json index 689b74a9eb..73dae7a910 100644 --- a/ports/krb5/vcpkg.json +++ b/ports/krb5/vcpkg.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "krb5", "version": "1.21.3", - "port-version": 1, + "port-version": 2, "description": [ "Kerberos is a network authentication protocol.", "It is designed to provide strong authentication for client/server applications by using secret-key cryptography.", @@ -11,5 +11,11 @@ ], "homepage": "https://web.mit.edu/kerberos/", "license": "MIT", - "supports": "linux | osx | (x64 & windows & !static & !uwp)" + "supports": "linux | osx | (x64 & windows & !static & !uwp)", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index 086dfbb73c..aff7c8edf2 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4162,7 +4162,7 @@ }, "krb5": { "baseline": "1.21.3", - "port-version": 1 + "port-version": 2 }, "ktx": { "baseline": "4.3.2", diff --git a/versions/k-/krb5.json b/versions/k-/krb5.json index 7845f469a4..0512bc1da5 100644 --- a/versions/k-/krb5.json +++ b/versions/k-/krb5.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4c78cbc89d3f5b368745e022b8d284f551c57d70", + "version": "1.21.3", + "port-version": 2 + }, { "git-tree": "def378059ffb932bf5f4ff18235b2d136893090e", "version": "1.21.3",