diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-10-28 15:26:49 +0300 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-11-24 20:00:33 +0300 |
commit | d6f568cf8a0c57c1280efb31b1b2ab850a87267f (patch) | |
tree | 56665a765dc7ca7c34652f634b554fa36a52a1fc /lang/python311/files/patch-Misc__python-config.sh.in | |
parent | lang/cython-devel: add port (diff) |
lang/python311: add port (at 3.11.0.alpha2)
Python is an interpreted object-oriented programming language, and is
often compared to Tcl, Perl or Scheme.
WWW: https://www.python.org/
PR: 259745
Approved by: python
Diffstat (limited to 'lang/python311/files/patch-Misc__python-config.sh.in')
-rw-r--r-- | lang/python311/files/patch-Misc__python-config.sh.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python311/files/patch-Misc__python-config.sh.in b/lang/python311/files/patch-Misc__python-config.sh.in new file mode 100644 index 000000000000..ebb0c6a51f6d --- /dev/null +++ b/lang/python311/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") |