mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
Ports/python3: Update Python to 3.11.0
This now requires `--host` and `--with-build-python` to be passed to the configure script when cross compiling; the former we simply do like in many other package.sh scripts as well, the latter we point to `python3`, which is expected to match the port's version anyway.
This commit is contained in:
parent
35ec636b5d
commit
edf3aee4df
9 changed files with 28 additions and 28 deletions
|
@ -31,15 +31,15 @@ depends=(
|
|||
configopts=(
|
||||
'--disable-ipv6'
|
||||
'--without-ensurepip'
|
||||
'--with-build-python=python3'
|
||||
'ac_cv_file__dev_ptmx=no'
|
||||
'ac_cv_file__dev_ptc=no'
|
||||
)
|
||||
|
||||
export BLDSHARED="${CC} -shared"
|
||||
|
||||
pre_configure() {
|
||||
build="$("${workdir}/config.guess")" # e.g. 'x86_64-pc-linux-gnu'
|
||||
configopts+=("--build=${build}")
|
||||
configure() {
|
||||
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/config.guess)" "${configopts[@]}"
|
||||
}
|
||||
|
||||
# Note: The showproperty command is used when linting ports, we don't actually need python at this time.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue