aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python314/files/patch-Misc_python-config.sh.in
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /lang/python314/files/patch-Misc_python-config.sh.in
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'lang/python314/files/patch-Misc_python-config.sh.in')
-rw-r--r--lang/python314/files/patch-Misc_python-config.sh.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python314/files/patch-Misc_python-config.sh.in b/lang/python314/files/patch-Misc_python-config.sh.in
new file mode 100644
index 000000000000..7da9da93d197
--- /dev/null
+++ b/lang/python314/files/patch-Misc_python-config.sh.in
@@ -0,0 +1,11 @@
+--- Misc/python-config.sh.in.orig 2025-01-16 01:47:29 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")