summaryrefslogtreecommitdiff
path: root/lang/python34
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python34')
-rw-r--r--lang/python34/Makefile1
-rw-r--r--lang/python34/files/patch-Misc__python-config.sh.in11
2 files changed, 12 insertions, 0 deletions
diff --git a/lang/python34/Makefile b/lang/python34/Makefile
index 89ce0b2b8a29..92e07f3f7964 100644
--- a/lang/python34/Makefile
+++ b/lang/python34/Makefile
@@ -3,6 +3,7 @@
PORTNAME= python
PORTVERSION= ${PYTHON_PORTVERSION}
+PORTREVISION= 1
CATEGORIES= lang python ipv6
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
PKGNAMESUFFIX= ${PYTHON_SUFFIX}
diff --git a/lang/python34/files/patch-Misc__python-config.sh.in b/lang/python34/files/patch-Misc__python-config.sh.in
new file mode 100644
index 000000000000..ebb0c6a51f6d
--- /dev/null
+++ b/lang/python34/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")