packages/lang/python/python3
Joshua Covington d8a1dd76bd python3: fix python-config prefix with 3.14.10
Python 3.14.10 turned the prefix_real line in python-config into

  prefix_real=$(installed_prefix "$0") || {
      printf '%s\n' "$0: cannot determine the installation prefix" >&2
      exit 1
  }

The sed in Build/InstallDev replaces the whole first line, so the error
and "exit 1" now always run and the staged python3.14-config fails for
every option. freeradius3 with rlm_python3 then fails to build:

  rlm_python3.c:38:10: fatal error: Python.h: No such file or directory

Only replace the assignment. This works with both the old and the new
form of the line.

Fixes: 7eef26d512 ("python3: update to 3.14.10")

Signed-off-by: Joshua Covington <joshuacov@gmail.com>
2026-11-29 13:00:51 +02:00
..
files
…
patches
…
patches-host-pip
…
Config-python3-light.in
…
Makefile
…
test-version.sh
…