svn commit: r404477 - in head/lang/python33: . files
Antoine Brodin
antoine at FreeBSD.org
Fri Dec 25 21:52:00 UTC 2015
Author: antoine
Date: Fri Dec 25 21:51:59 2015
New Revision: 404477
URL: https://svnweb.freebsd.org/changeset/ports/404477
Log:
Restore unixccompiler.py patch, it was not included upstream
Added:
head/lang/python33/files/patch-Lib_distutils_unixccompiler.py (contents, props changed)
Modified:
head/lang/python33/Makefile
Modified: head/lang/python33/Makefile
==============================================================================
--- head/lang/python33/Makefile Fri Dec 25 21:45:05 2015 (r404476)
+++ head/lang/python33/Makefile Fri Dec 25 21:51:59 2015 (r404477)
@@ -2,6 +2,7 @@
PORTNAME= python33
PORTVERSION= 3.3.6
+PORTREVISION= 1
CATEGORIES= lang python ipv6
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
DISTNAME= Python-${PORTVERSION}
Added: head/lang/python33/files/patch-Lib_distutils_unixccompiler.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/python33/files/patch-Lib_distutils_unixccompiler.py Fri Dec 25 21:51:59 2015 (r404477)
@@ -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-10-12 07:03:52 UTC
++++ Lib/distutils/unixccompiler.py
+@@ -225,6 +225,8 @@ class UnixCCompiler(CCompiler):
+ 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]
More information about the svn-ports-head
mailing list