mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 02:52:46 +08:00
[vcpkg_configure_make] Standardize OPTIONS
list item handling (#19540)
* Remove unused EXTRA_QUOTES * Uniformly invoke 'configure' * [libtasn1] Fix mingw build * Unify prefix handling * Revise install dir processing * x-add-version * Force libdir to lib (adopted from #19666) * [skip actions] CI rebuild * CR request: Put backslash before shell var * CR request: Use vcpkg_list * Update versions * Fix python3 options * Update versions * Bump python port-version. * CR request: Add comment about backslashes before prefix Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
parent
4187499295
commit
2ed5383f7b
@ -18,21 +18,20 @@ vcpkg_extract_source_archive_ex(
|
|||||||
${PATCHES}
|
${PATCHES}
|
||||||
)
|
)
|
||||||
|
|
||||||
if(VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_MINGW)
|
set(EXTRA_OPTS "")
|
||||||
|
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||||
# $LIBS is an environment variable that vcpkg already pre-populated with some libraries.
|
# $LIBS is an environment variable that vcpkg already pre-populated with some libraries.
|
||||||
# We need to re-purpose it when passing LIBS option to make to avoid overriding the vcpkg's own list.
|
# We need to re-purpose it when passing LIBS option to make to avoid overriding the vcpkg's own list.
|
||||||
set(EXTRA_OPTS "LIBS=\"$LIBS -lgettimeofday -lgetopt\"")
|
list(APPEND EXTRA_OPTS "LIBS=-lgettimeofday -lgetopt \$LIBS")
|
||||||
else()
|
else()
|
||||||
# restore the default ac_cv_prog_cc_g flags, otherwise it fails to compile
|
# restore the default ac_cv_prog_cc_g flags, otherwise it fails to compile
|
||||||
set(EXTRA_OPTS)
|
|
||||||
set(VCPKG_C_FLAGS "-g -O2")
|
set(VCPKG_C_FLAGS "-g -O2")
|
||||||
set(VCPKG_CXX_FLAGS "-g -O2")
|
set(VCPKG_CXX_FLAGS "-g -O2")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# The upstream doesn't add this macro to the configure
|
# The upstream doesn't add this macro to the configure
|
||||||
if (VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
if (VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||||
|
list(APPEND EXTRA_OPTS "CFLAGS=\$CFLAGS -DASN1_STATIC")
|
||||||
set(EXTRA_OPTS "${EXTRA_OPTS} CFLAGS=\"$CFLAGS -DASN1_STATIC\"")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(ENV{GTKDOCIZE} true)
|
set(ENV{GTKDOCIZE} true)
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "libtasn1",
|
"name": "libtasn1",
|
||||||
"version": "4.17.0",
|
"version": "4.17.0",
|
||||||
"port-version": 1,
|
"port-version": 3,
|
||||||
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols",
|
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols",
|
||||||
"homepage": "https://www.gnutls.org/",
|
"homepage": "https://www.gnutls.org/",
|
||||||
"supports": "!uwp",
|
"supports": "!uwp",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
{
|
{
|
||||||
"name": "getopt",
|
"name": "getopt",
|
||||||
"platform": "windows"
|
"platform": "windows & !mingw"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "gettimeofday",
|
"name": "gettimeofday",
|
||||||
"platform": "windows"
|
"platform": "windows & !mingw"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -162,7 +162,7 @@ else()
|
|||||||
set(OPTIONS
|
set(OPTIONS
|
||||||
"--with-openssl=${CURRENT_INSTALLED_DIR}"
|
"--with-openssl=${CURRENT_INSTALLED_DIR}"
|
||||||
"--with-ensurepip"
|
"--with-ensurepip"
|
||||||
[[--with-suffix=""]]
|
"--with-suffix="
|
||||||
"--with-system-expat"
|
"--with-system-expat"
|
||||||
)
|
)
|
||||||
if(VCPKG_TARGET_IS_OSX)
|
if(VCPKG_TARGET_IS_OSX)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "python3",
|
"name": "python3",
|
||||||
"version-semver": "3.9.7",
|
"version-semver": "3.9.7",
|
||||||
"port-version": 1,
|
"port-version": 2,
|
||||||
"description": "The Python programming language",
|
"description": "The Python programming language",
|
||||||
"homepage": "https://github.com/python/cpython",
|
"homepage": "https://github.com/python/cpython",
|
||||||
"supports": "!(arm | uwp)",
|
"supports": "!(arm | uwp)",
|
||||||
|
@ -11,18 +11,22 @@ vcpkg_extract_source_archive_ex(
|
|||||||
ARCHIVE ${ARCHIVE}
|
ARCHIVE ${ARCHIVE}
|
||||||
)
|
)
|
||||||
|
|
||||||
set(CONFIGURE_OPTIONS "--without-fortran star_cv_cnf_trail_type=long star_cv_cnf_f2c_compatible=no")
|
set(CONFIGURE_OPTIONS
|
||||||
|
--without-fortran
|
||||||
|
star_cv_cnf_trail_type=long
|
||||||
|
star_cv_cnf_f2c_compatible=no
|
||||||
|
)
|
||||||
|
|
||||||
if ("yaml" IN_LIST FEATURES)
|
if ("yaml" IN_LIST FEATURES)
|
||||||
set(CONFIGURE_OPTIONS "${CONFIGURE_OPTIONS} --with-yaml")
|
list(APPEND CONFIGURE_OPTIONS --with-yaml)
|
||||||
else()
|
else()
|
||||||
set(CONFIGURE_OPTIONS "${CONFIGURE_OPTIONS} --without-yaml")
|
list(APPEND CONFIGURE_OPTIONS --without-yaml)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if ("pthreads" IN_LIST FEATURES)
|
if ("pthreads" IN_LIST FEATURES)
|
||||||
set(CONFIGURE_OPTIONS "${CONFIGURE_OPTIONS} --with-pthreads")
|
list(APPEND CONFIGURE_OPTIONS --with-pthreads)
|
||||||
else()
|
else()
|
||||||
set(CONFIGURE_OPTIONS "${CONFIGURE_OPTIONS} --without-pthreads")
|
list(APPEND CONFIGURE_OPTIONS --without-pthreads)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
vcpkg_configure_make(
|
vcpkg_configure_make(
|
||||||
@ -31,8 +35,6 @@ vcpkg_configure_make(
|
|||||||
DETERMINE_BUILD_TRIPLET
|
DETERMINE_BUILD_TRIPLET
|
||||||
ADDITIONAL_MSYS_PACKAGES perl
|
ADDITIONAL_MSYS_PACKAGES perl
|
||||||
OPTIONS ${CONFIGURE_OPTIONS}
|
OPTIONS ${CONFIGURE_OPTIONS}
|
||||||
OPTIONS_RELEASE ${CONFIGURE_OPTIONS_RELEASE}
|
|
||||||
OPTIONS_DEBUG ${CONFIGURE_OPTIONS_DEBUG}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_make()
|
vcpkg_install_make()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "starlink-ast",
|
"name": "starlink-ast",
|
||||||
"version-semver": "9.2.4",
|
"version-semver": "9.2.4",
|
||||||
"port-version": 1,
|
"port-version": 2,
|
||||||
"description": "The AST library provides a comprehensive range of facilities for attaching world coordinate systems to astronomical data, for retrieving and interpreting that information and for generating graphical output based on it",
|
"description": "The AST library provides a comprehensive range of facilities for attaching world coordinate systems to astronomical data, for retrieving and interpreting that information and for generating graphical output based on it",
|
||||||
"homepage": "https://starlink.eao.hawaii.edu/starlink/AST",
|
"homepage": "https://starlink.eao.hawaii.edu/starlink/AST",
|
||||||
"supports": "windows",
|
"supports": "windows",
|
||||||
|
@ -302,6 +302,7 @@ function(vcpkg_configure_make)
|
|||||||
set(_vcm_paths_with_spaces TRUE)
|
set(_vcm_paths_with_spaces TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(CONFIGURE_ENV "V=1")
|
||||||
# Pre-processing windows configure requirements
|
# Pre-processing windows configure requirements
|
||||||
if (VCPKG_TARGET_IS_WINDOWS)
|
if (VCPKG_TARGET_IS_WINDOWS)
|
||||||
if(CMAKE_HOST_WIN32)
|
if(CMAKE_HOST_WIN32)
|
||||||
@ -351,7 +352,6 @@ function(vcpkg_configure_make)
|
|||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
set(CONFIGURE_ENV "V=1")
|
|
||||||
# Remove full filepaths due to spaces and prepend filepaths to PATH (cross-compiling tools are unlikely on path by default)
|
# Remove full filepaths due to spaces and prepend filepaths to PATH (cross-compiling tools are unlikely on path by default)
|
||||||
set(progs VCPKG_DETECTED_CMAKE_C_COMPILER VCPKG_DETECTED_CMAKE_CXX_COMPILER VCPKG_DETECTED_CMAKE_AR
|
set(progs VCPKG_DETECTED_CMAKE_C_COMPILER VCPKG_DETECTED_CMAKE_CXX_COMPILER VCPKG_DETECTED_CMAKE_AR
|
||||||
VCPKG_DETECTED_CMAKE_LINKER VCPKG_DETECTED_CMAKE_RANLIB VCPKG_DETECTED_CMAKE_OBJDUMP
|
VCPKG_DETECTED_CMAKE_LINKER VCPKG_DETECTED_CMAKE_RANLIB VCPKG_DETECTED_CMAKE_OBJDUMP
|
||||||
@ -448,17 +448,16 @@ function(vcpkg_configure_make)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Some PATH handling for dealing with spaces....some tools will still fail with that!
|
||||||
|
# In particular, the libtool install command is unable to install correctly to paths with spaces.
|
||||||
|
# CURRENT_INSTALLED_DIR: Pristine native path (unprotected spaces, Windows drive letters)
|
||||||
|
# _VCPKG_INSTALLED: Native path with escaped space characters
|
||||||
|
# _VCPKG_PREFIX: Path with unprotected spaces, but drive letters transformed for mingw/msys
|
||||||
|
string(REPLACE " " "\\ " _VCPKG_INSTALLED "${CURRENT_INSTALLED_DIR}")
|
||||||
if(CMAKE_HOST_WIN32)
|
if(CMAKE_HOST_WIN32)
|
||||||
#Some PATH handling for dealing with spaces....some tools will still fail with that!
|
string(REGEX REPLACE "([a-zA-Z]):/" "/\\1/" _VCPKG_PREFIX "${CURRENT_INSTALLED_DIR}")
|
||||||
string(REPLACE " " "\\\ " _VCPKG_PREFIX ${CURRENT_INSTALLED_DIR})
|
|
||||||
string(REGEX REPLACE "([a-zA-Z]):/" "/\\1/" _VCPKG_PREFIX "${_VCPKG_PREFIX}")
|
|
||||||
set(_VCPKG_INSTALLED ${CURRENT_INSTALLED_DIR})
|
|
||||||
set(prefix_var "'\${prefix}'") # Windows needs extra quotes or else the variable gets expanded in the makefile!
|
|
||||||
else()
|
else()
|
||||||
string(REPLACE " " "\ " _VCPKG_PREFIX ${CURRENT_INSTALLED_DIR})
|
set(_VCPKG_PREFIX "${CURRENT_INSTALLED_DIR}")
|
||||||
string(REPLACE " " "\ " _VCPKG_INSTALLED ${CURRENT_INSTALLED_DIR})
|
|
||||||
set(EXTRA_QUOTES)
|
|
||||||
set(prefix_var "\${prefix}")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# macOS - cross-compiling support
|
# macOS - cross-compiling support
|
||||||
@ -484,25 +483,26 @@ function(vcpkg_configure_make)
|
|||||||
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}")
|
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}")
|
||||||
|
|
||||||
# Set configure paths
|
# Set configure paths
|
||||||
set(_csc_OPTIONS_RELEASE ${_csc_OPTIONS_RELEASE} "--prefix=${EXTRA_QUOTES}${_VCPKG_PREFIX}${EXTRA_QUOTES}")
|
set(_csc_OPTIONS_RELEASE ${_csc_OPTIONS_RELEASE} "--prefix=${_VCPKG_PREFIX}")
|
||||||
set(_csc_OPTIONS_DEBUG ${_csc_OPTIONS_DEBUG} "--prefix=${EXTRA_QUOTES}${_VCPKG_PREFIX}/debug${EXTRA_QUOTES}")
|
set(_csc_OPTIONS_DEBUG ${_csc_OPTIONS_DEBUG} "--prefix=${_VCPKG_PREFIX}/debug")
|
||||||
if(NOT _csc_NO_ADDITIONAL_PATHS)
|
if(NOT _csc_NO_ADDITIONAL_PATHS)
|
||||||
|
# ${prefix} has an extra backslash to prevent early expansion when calling `bash -c configure "..."`.
|
||||||
set(_csc_OPTIONS_RELEASE ${_csc_OPTIONS_RELEASE}
|
set(_csc_OPTIONS_RELEASE ${_csc_OPTIONS_RELEASE}
|
||||||
# Important: These should all be relative to prefix!
|
# Important: These should all be relative to prefix!
|
||||||
"--bindir=${prefix_var}/tools/${PORT}/bin"
|
"--bindir=\\\${prefix}/tools/${PORT}/bin"
|
||||||
"--sbindir=${prefix_var}/tools/${PORT}/sbin"
|
"--sbindir=\\\${prefix}/tools/${PORT}/sbin"
|
||||||
"--libdir=${prefix_var}/lib" # On some Linux distributions lib64 is the default
|
"--libdir=\\\${prefix}/lib" # On some Linux distributions lib64 is the default
|
||||||
#"--includedir='\${prefix}'/include" # already the default!
|
#"--includedir='\${prefix}'/include" # already the default!
|
||||||
"--mandir=${prefix_var}/share/${PORT}"
|
"--mandir=\\\${prefix}/share/${PORT}"
|
||||||
"--docdir=${prefix_var}/share/${PORT}"
|
"--docdir=\\\${prefix}/share/${PORT}"
|
||||||
"--datarootdir=${prefix_var}/share/${PORT}")
|
"--datarootdir=\\\${prefix}/share/${PORT}")
|
||||||
set(_csc_OPTIONS_DEBUG ${_csc_OPTIONS_DEBUG}
|
set(_csc_OPTIONS_DEBUG ${_csc_OPTIONS_DEBUG}
|
||||||
# Important: These should all be relative to prefix!
|
# Important: These should all be relative to prefix!
|
||||||
"--bindir=${prefix_var}/../tools/${PORT}/debug/bin"
|
"--bindir=\\\${prefix}/../tools/${PORT}/debug/bin"
|
||||||
"--sbindir=${prefix_var}/../tools/${PORT}/debug/sbin"
|
"--sbindir=\\\${prefix}/../tools/${PORT}/debug/sbin"
|
||||||
"--libdir=${prefix_var}/lib" # On some Linux distributions lib64 is the default
|
"--libdir=\\\${prefix}/lib" # On some Linux distributions lib64 is the default
|
||||||
"--includedir=${prefix_var}/../include"
|
"--includedir=\\\${prefix}/../include"
|
||||||
"--datarootdir=${prefix_var}/share/${PORT}")
|
"--datarootdir=\\\${prefix}/share/${PORT}")
|
||||||
endif()
|
endif()
|
||||||
# Setup common options
|
# Setup common options
|
||||||
if(NOT DISABLE_VERBOSE_FLAGS)
|
if(NOT DISABLE_VERBOSE_FLAGS)
|
||||||
@ -534,18 +534,13 @@ function(vcpkg_configure_make)
|
|||||||
else()
|
else()
|
||||||
find_program(base_cmd bash REQUIRED)
|
find_program(base_cmd bash REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
if(VCPKG_TARGET_IS_WINDOWS)
|
|
||||||
list(JOIN _csc_OPTIONS " " _csc_OPTIONS)
|
|
||||||
list(JOIN _csc_OPTIONS_RELEASE " " _csc_OPTIONS_RELEASE)
|
|
||||||
list(JOIN _csc_OPTIONS_DEBUG " " _csc_OPTIONS_DEBUG)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Setup include environment (since these are buildtype independent restoring them is unnecessary)
|
# Setup include environment (since these are buildtype independent restoring them is unnecessary)
|
||||||
macro(prepend_include_path var)
|
macro(prepend_include_path var)
|
||||||
if("${${var}_BACKUP}" STREQUAL "")
|
if("${${var}_BACKUP}" STREQUAL "")
|
||||||
set(ENV{${var}} "${_VCPKG_INSTALLED}/include")
|
set(ENV{${var}} "${CURRENT_INSTALLED_DIR}/include")
|
||||||
else()
|
else()
|
||||||
set(ENV{${var}} "${_VCPKG_INSTALLED}/include${VCPKG_HOST_PATH_SEPARATOR}${${var}_BACKUP}")
|
set(ENV{${var}} "${CURRENT_INSTALLED_DIR}/include${VCPKG_HOST_PATH_SEPARATOR}${${var}_BACKUP}")
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
# Used by CL
|
# Used by CL
|
||||||
@ -693,10 +688,10 @@ function(vcpkg_configure_make)
|
|||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
set(_link_dirs)
|
set(_link_dirs)
|
||||||
if(EXISTS "${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib")
|
if(EXISTS "${CURRENT_INSTALLED_DIR}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib")
|
||||||
set(_link_dirs "-L${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib")
|
set(_link_dirs "-L${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib")
|
||||||
endif()
|
endif()
|
||||||
if(EXISTS "{_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib/manual-link")
|
if(EXISTS "{CURRENT_INSTALLED_DIR}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib/manual-link")
|
||||||
set(_link_dirs "${_link_dirs} -L${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib/manual-link")
|
set(_link_dirs "${_link_dirs} -L${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib/manual-link")
|
||||||
endif()
|
endif()
|
||||||
string(STRIP "${_link_dirs}" _link_dirs)
|
string(STRIP "${_link_dirs}" _link_dirs)
|
||||||
@ -726,10 +721,10 @@ function(vcpkg_configure_make)
|
|||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
set(_link_dirs)
|
set(_link_dirs)
|
||||||
if(EXISTS "${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib")
|
if(EXISTS "${CURRENT_INSTALLED_DIR}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib")
|
||||||
set(_link_dirs "-L${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib")
|
set(_link_dirs "-L${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib")
|
||||||
endif()
|
endif()
|
||||||
if(EXISTS "{_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib/manual-link")
|
if(EXISTS "{CURRENT_INSTALLED_DIR}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib/manual-link")
|
||||||
set(_link_dirs "${_link_dirs} -L${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib/manual-link")
|
set(_link_dirs "${_link_dirs} -L${_VCPKG_INSTALLED}${PATH_SUFFIX_${_VAR_SUFFIX}}/lib/manual-link")
|
||||||
endif()
|
endif()
|
||||||
string(STRIP "${_link_dirs}" _link_dirs)
|
string(STRIP "${_link_dirs}" _link_dirs)
|
||||||
@ -738,6 +733,15 @@ function(vcpkg_configure_make)
|
|||||||
unset(_VAR_SUFFIX)
|
unset(_VAR_SUFFIX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
foreach(var IN ITEMS _csc_OPTIONS _csc_OPTIONS_RELEASE _csc_OPTIONS_DEBUG)
|
||||||
|
vcpkg_list(SET tmp)
|
||||||
|
foreach(element IN LISTS "${var}")
|
||||||
|
string(REPLACE [["]] [[\"]] element "${element}")
|
||||||
|
vcpkg_list(APPEND tmp "\"${element}\"")
|
||||||
|
endforeach()
|
||||||
|
vcpkg_list(JOIN tmp " " "${var}")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
foreach(_buildtype IN LISTS _buildtypes)
|
foreach(_buildtype IN LISTS _buildtypes)
|
||||||
foreach(ENV_VAR ${_csc_CONFIG_DEPENDENT_ENVIRONMENT})
|
foreach(ENV_VAR ${_csc_CONFIG_DEPENDENT_ENVIRONMENT})
|
||||||
if(DEFINED ENV{${ENV_VAR}})
|
if(DEFINED ENV{${ENV_VAR}})
|
||||||
@ -788,27 +792,21 @@ function(vcpkg_configure_make)
|
|||||||
set(_lib_env_vars LIB LIBPATH LIBRARY_PATH LD_LIBRARY_PATH)
|
set(_lib_env_vars LIB LIBPATH LIBRARY_PATH LD_LIBRARY_PATH)
|
||||||
foreach(_lib_env_var IN LISTS _lib_env_vars)
|
foreach(_lib_env_var IN LISTS _lib_env_vars)
|
||||||
set(_link_path)
|
set(_link_path)
|
||||||
if(EXISTS "${_VCPKG_INSTALLED}${PATH_SUFFIX_${_buildtype}}/lib")
|
if(EXISTS "${CURRENT_INSTALLED_DIR}${PATH_SUFFIX_${_buildtype}}/lib")
|
||||||
set(_link_path "${_VCPKG_INSTALLED}${PATH_SUFFIX_${_buildtype}}/lib")
|
set(_link_path "${CURRENT_INSTALLED_DIR}${PATH_SUFFIX_${_buildtype}}/lib")
|
||||||
endif()
|
endif()
|
||||||
if(EXISTS "${_VCPKG_INSTALLED}${PATH_SUFFIX_${_buildtype}}/lib/manual-link")
|
if(EXISTS "${CURRENT_INSTALLED_DIR}${PATH_SUFFIX_${_buildtype}}/lib/manual-link")
|
||||||
if(_link_path)
|
if(_link_path)
|
||||||
set(_link_path "${_link_path}${VCPKG_HOST_PATH_SEPARATOR}")
|
set(_link_path "${_link_path}${VCPKG_HOST_PATH_SEPARATOR}")
|
||||||
endif()
|
endif()
|
||||||
set(_link_path "${_link_path}${_VCPKG_INSTALLED}${PATH_SUFFIX_${_buildtype}}/lib/manual-link")
|
set(_link_path "${_link_path}${CURRENT_INSTALLED_DIR}${PATH_SUFFIX_${_buildtype}}/lib/manual-link")
|
||||||
endif()
|
endif()
|
||||||
set(ENV{${_lib_env_var}} "${_link_path}${${_lib_env_var}_PATHLIKE_CONCAT}")
|
set(ENV{${_lib_env_var}} "${_link_path}${${_lib_env_var}_PATHLIKE_CONCAT}")
|
||||||
endforeach()
|
endforeach()
|
||||||
unset(_link_path)
|
unset(_link_path)
|
||||||
unset(_lib_env_vars)
|
unset(_lib_env_vars)
|
||||||
|
|
||||||
if(CMAKE_HOST_WIN32)
|
set(command "${base_cmd}" -c "${CONFIGURE_ENV} ./${RELATIVE_BUILD_PATH}/configure ${_csc_BUILD_TRIPLET} ${_csc_OPTIONS} ${_csc_OPTIONS_${_buildtype}}")
|
||||||
set(command "${base_cmd}" -c "${CONFIGURE_ENV} ./${RELATIVE_BUILD_PATH}/configure ${_csc_BUILD_TRIPLET} ${_csc_OPTIONS} ${_csc_OPTIONS_${_buildtype}}")
|
|
||||||
elseif(VCPKG_TARGET_IS_WINDOWS)
|
|
||||||
set(command "${base_cmd}" -c "${CONFIGURE_ENV} $@" -- "./${RELATIVE_BUILD_PATH}/configure" ${_csc_BUILD_TRIPLET} ${_csc_OPTIONS} ${_csc_OPTIONS_${_buildtype}})
|
|
||||||
else()
|
|
||||||
set(command "${base_cmd}" "./${RELATIVE_BUILD_PATH}/configure" ${_csc_BUILD_TRIPLET} ${_csc_OPTIONS} ${_csc_OPTIONS_${_buildtype}})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(_csc_ADD_BIN_TO_PATH)
|
if(_csc_ADD_BIN_TO_PATH)
|
||||||
set(PATH_BACKUP $ENV{PATH})
|
set(PATH_BACKUP $ENV{PATH})
|
||||||
|
@ -3834,7 +3834,7 @@
|
|||||||
},
|
},
|
||||||
"libtasn1": {
|
"libtasn1": {
|
||||||
"baseline": "4.17.0",
|
"baseline": "4.17.0",
|
||||||
"port-version": 1
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"libtcod": {
|
"libtcod": {
|
||||||
"baseline": "1.18.0",
|
"baseline": "1.18.0",
|
||||||
@ -5334,7 +5334,7 @@
|
|||||||
},
|
},
|
||||||
"python3": {
|
"python3": {
|
||||||
"baseline": "3.9.7",
|
"baseline": "3.9.7",
|
||||||
"port-version": 1
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"qca": {
|
"qca": {
|
||||||
"baseline": "2.3.1",
|
"baseline": "2.3.1",
|
||||||
@ -6390,7 +6390,7 @@
|
|||||||
},
|
},
|
||||||
"starlink-ast": {
|
"starlink-ast": {
|
||||||
"baseline": "9.2.4",
|
"baseline": "9.2.4",
|
||||||
"port-version": 1
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"status-code": {
|
"status-code": {
|
||||||
"baseline": "1.0.0-ab3cd821",
|
"baseline": "1.0.0-ab3cd821",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "c387ff2824b319ecd287ea3e5a507a8263dce95e",
|
||||||
|
"version": "4.17.0",
|
||||||
|
"port-version": 3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "3554f6c03cdac32ddf68540d62c04f6f4644ec94",
|
"git-tree": "3554f6c03cdac32ddf68540d62c04f6f4644ec94",
|
||||||
"version": "4.17.0",
|
"version": "4.17.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "3975ee0659914edc75d63f914ac91bb3b7453f0c",
|
||||||
|
"version-semver": "3.9.7",
|
||||||
|
"port-version": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "6a1011c32aa2eb7de0b9a6184b2805e34c41f0b5",
|
"git-tree": "6a1011c32aa2eb7de0b9a6184b2805e34c41f0b5",
|
||||||
"version-semver": "3.9.7",
|
"version-semver": "3.9.7",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "487c5e318ce957c09647d0d74a2b5b4a4e99ffef",
|
||||||
|
"version-semver": "9.2.4",
|
||||||
|
"port-version": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "2fecd468269d73b6e8f29a297c4f7db771ea37c4",
|
"git-tree": "2fecd468269d73b6e8f29a297c4f7db771ea37c4",
|
||||||
"version-semver": "9.2.4",
|
"version-semver": "9.2.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user