mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:41:47 +08:00
[tcl] Fix release builds on Windows (#41046)
This commit is contained in:
parent
70382d1dbe
commit
32b365ee99
@ -91,6 +91,13 @@ if (VCPKG_TARGET_IS_WINDOWS)
|
||||
"${CURRENT_PACKAGES_DIR}/lib/tcl8.6"
|
||||
"${CURRENT_PACKAGES_DIR}/lib/tdbcsqlite31.1.0"
|
||||
)
|
||||
file(CHMOD_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/tools/tcl/lib/tcl9.0/msgs" "${CURRENT_PACKAGES_DIR}/tools/tcl/lib/tcl9.0/tzdata"
|
||||
PERMISSIONS
|
||||
OWNER_READ OWNER_WRITE
|
||||
GROUP_READ GROUP_WRITE
|
||||
WORLD_READ WORLD_WRITE
|
||||
)
|
||||
endif()
|
||||
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL debug)
|
||||
file(GLOB_RECURSE TOOL_BIN
|
||||
@ -112,6 +119,14 @@ if (VCPKG_TARGET_IS_WINDOWS)
|
||||
"${CURRENT_PACKAGES_DIR}/debug/lib/tcl8.6"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/lib/tdbcsqlite31.1.0"
|
||||
)
|
||||
|
||||
file(CHMOD_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/tools/tcl/debug/lib/tcl9.0/msgs" "${CURRENT_PACKAGES_DIR}/tools/tcl/debug/lib/tcl9.0/tzdata"
|
||||
PERMISSIONS
|
||||
OWNER_READ OWNER_WRITE
|
||||
GROUP_READ GROUP_WRITE
|
||||
WORLD_READ WORLD_WRITE
|
||||
)
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
@ -119,15 +134,6 @@ if (VCPKG_TARGET_IS_WINDOWS)
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(CHMOD_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/tools/tcl/debug/lib/tcl9.0/msgs" "${CURRENT_PACKAGES_DIR}/tools/tcl/debug/lib/tcl9.0/tzdata"
|
||||
"${CURRENT_PACKAGES_DIR}/tools/tcl/lib/tcl9.0/msgs" "${CURRENT_PACKAGES_DIR}/tools/tcl/lib/tcl9.0/tzdata"
|
||||
PERMISSIONS
|
||||
OWNER_READ OWNER_WRITE
|
||||
GROUP_READ GROUP_WRITE
|
||||
WORLD_READ WORLD_WRITE
|
||||
)
|
||||
else()
|
||||
file(REMOVE "${SOURCE_PATH}/unix/configure")
|
||||
vcpkg_configure_make(
|
||||
@ -146,4 +152,4 @@ endif()
|
||||
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/tclConfig.sh" "${CURRENT_PACKAGES_DIR}/debug/lib/tclConfig.sh")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/license.terms" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.terms")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tcl",
|
||||
"version-string": "core-9-0-a1",
|
||||
"port-version": 7,
|
||||
"port-version": 8,
|
||||
"description": "Tcl provides a powerful platform for creating integration applications that tie together diverse applications, protocols, devices, and frameworks. When paired with the Tk toolkit, Tcl provides the fastest and most powerful way to create GUI applications that run on PCs, Unix, and Mac OS X. Tcl can also be used for a variety of web-related tasks and for creating powerful command languages for applications.",
|
||||
"homepage": "https://github.com/tcltk/tcl",
|
||||
"supports": "!android & !(windows & arm) & !uwp",
|
||||
|
@ -8758,7 +8758,7 @@
|
||||
},
|
||||
"tcl": {
|
||||
"baseline": "core-9-0-a1",
|
||||
"port-version": 7
|
||||
"port-version": 8
|
||||
},
|
||||
"tclap": {
|
||||
"baseline": "1.2.5",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e17d8c12a1c924cfd28ae1ad9e5fad178b63eee5",
|
||||
"version-string": "core-9-0-a1",
|
||||
"port-version": 8
|
||||
},
|
||||
{
|
||||
"git-tree": "cf292d0782ec4b951e94467bd26a6b4a1db5874f",
|
||||
"version-string": "core-9-0-a1",
|
||||
|
Loading…
Reference in New Issue
Block a user