mirror of https://github.com/microsoft/vcpkg.git
[python3] Add a warning message for installing autoconf automake and autoconf-archive (#35548)
* [python3] Add a warning message for installing autoconf automake and autoconf-archive * Apply suggestion
This commit is contained in:
parent
8308c141fd
commit
0da40a8b53
|
|
@ -3,6 +3,21 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic AND VCPKG_CRT_LINKAGE STREQUAL static
|
|||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
if(NOT VCPKG_HOST_IS_WINDOWS)
|
||||
message(WARNING "${PORT} currently requires the following programs from the system package manager:
|
||||
autoconf automake autoconf-archive
|
||||
On Debian and Ubuntu derivatives:
|
||||
sudo apt-get install autoconf automake autoconf-archive
|
||||
On recent Red Hat and Fedora derivatives:
|
||||
sudo dnf install autoconf automake autoconf-archive
|
||||
On Arch Linux and derivatives:
|
||||
sudo pacman -S autoconf automake autoconf-archive
|
||||
On Alpine:
|
||||
apk add autoconf automake autoconf-archive
|
||||
On macOS:
|
||||
brew install autoconf automake autoconf-archive\n")
|
||||
endif()
|
||||
|
||||
string(REGEX MATCH "^([0-9]+)\\.([0-9]+)\\.([0-9]+)" PYTHON_VERSION "${VERSION}")
|
||||
set(PYTHON_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
||||
set(PYTHON_VERSION_MINOR "${CMAKE_MATCH_2}")
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "python3",
|
||||
"version": "3.11.5",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "The Python programming language",
|
||||
"homepage": "https://github.com/python/cpython",
|
||||
"license": "Python-2.0",
|
||||
|
|
|
|||
|
|
@ -6862,7 +6862,7 @@
|
|||
},
|
||||
"python3": {
|
||||
"baseline": "3.11.5",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"qca": {
|
||||
"baseline": "2.3.7",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e6acf202b9752a04a0b9557d1ea9e4fa2f427e8d",
|
||||
"version": "3.11.5",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "f51d67945e156a17ca72a743f04455a368e73272",
|
||||
"version": "3.11.5",
|
||||
|
|
|
|||
Loading…
Reference in New Issue