Files
ports/lang/python314/files/patch-Misc__python-config.sh.in
T
Charlie Li ddc3acdf2c lang/python314: update to 3.14.6
Changelog: https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-6-final

While here:
- rebase formatting similar to lang/python313
- expose JIT option (disabled by default)
- allow LibreSSL

PR: 296007
Event: Works Must Run
2026-06-12 15:17:59 -04:00

12 lines
481 B
Bash

--- Misc/python-config.sh.in.orig 2025-10-07 09:34:52 UTC
+++ Misc/python-config.sh.in
@@ -21,7 +21,7 @@ installed_prefix ()
# Returns the actual prefix where this script was installed to.
installed_prefix ()
{
- RESULT=$(dirname $(cd $(dirname "$1") && pwd -P))
+ RESULT=$(dirname $(cd $(dirname $(realpath "$1")) && pwd -P))
if which readlink >/dev/null 2>&1 ; then
if readlink -f "$RESULT" >/dev/null 2>&1; then
RESULT=$(readlink -f "$RESULT")