summaryrefslogtreecommitdiff
path: root/lang/python310/files/patch-Misc__python-config.sh.in
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-04-09 01:31:49 +0300
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-07-14 23:14:55 +0300
commit930c93129234e5ed3f67be1b8795a5a20e2745db (patch)
treeaff6c2bcdb411697ec3c21d179a303eaf5a8a08f /lang/python310/files/patch-Misc__python-config.sh.in
parentports-mgmt/poudriere-devel: Update to 3.3.0-744-g0bf7bd31e (diff)
lang/python310: add python 3.10.0.beta4
PR: 256150 Approved by: maintainer timeout (python@, 1 month) Differential Revision: https://reviews.freebsd.org/D30475
Diffstat (limited to 'lang/python310/files/patch-Misc__python-config.sh.in')
-rw-r--r--lang/python310/files/patch-Misc__python-config.sh.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python310/files/patch-Misc__python-config.sh.in b/lang/python310/files/patch-Misc__python-config.sh.in
new file mode 100644
index 000000000000..ebb0c6a51f6d
--- /dev/null
+++ b/lang/python310/files/patch-Misc__python-config.sh.in
@@ -0,0 +1,11 @@
+--- Misc/python-config.sh.in.orig 2018-07-13 21:07:16 UTC
++++ Misc/python-config.sh.in
+@@ -15,7 +15,7 @@ fi
+ # 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")