diff options
Diffstat (limited to 'lang/python33')
-rw-r--r-- | lang/python33/Makefile | 1 | ||||
-rw-r--r-- | lang/python33/files/patch-Lib__distutils__unixccompiler.py | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lang/python33/Makefile b/lang/python33/Makefile index e44f01faccee..edb7c137a6a1 100644 --- a/lang/python33/Makefile +++ b/lang/python33/Makefile @@ -2,6 +2,7 @@ PORTNAME= python33 PORTVERSION= 3.3.5 +PORTREVISION= 1 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} diff --git a/lang/python33/files/patch-Lib__distutils__unixccompiler.py b/lang/python33/files/patch-Lib__distutils__unixccompiler.py new file mode 100644 index 000000000000..3012c52a85cd --- /dev/null +++ b/lang/python33/files/patch-Lib__distutils__unixccompiler.py @@ -0,0 +1,15 @@ +# Description: Some python extensions can't be compiled with clang 3.4 +# Issue ID: http://bugs.python.org/issue20767 +# Submitted by: antoine + +--- ./Lib/distutils/unixccompiler.py.orig 2014-03-09 15:25:15.921204441 +1100 ++++ ./Lib/distutils/unixccompiler.py 2014-03-09 15:25:50.643809649 +1100 +@@ -225,6 +225,8 @@ + if sys.platform[:6] == "darwin": + # MacOSX's linker doesn't understand the -R flag at all + return "-L" + dir ++ elif sys.platform[:7] == "freebsd": ++ return "-Wl,-rpath=" + dir + elif sys.platform[:5] == "hp-ux": + if self._is_gcc(compiler): + return ["-Wl,+s", "-L" + dir] |