FreeBSD welcomes Python 3.5 (early, pre-release) to the Ports tree, with 3.5.0 release candidate 3! Please test this port and Python 3.5 profusely. If you notice issues, please report them upstream at: https://bugs.python.org to ensure a robust upcoming 3.5.0 release. Whats New in Python 3.5: * https://docs.python.org/3.5/whatsnew/3.5.html Python 3.5 Release Schedule (PEP 478) * http://www.python.org/dev/peps/pep-0478 Note: This port retires an old fcntlmodule.c patch, possibly temporarily. User impact *should* be zero. For more information see: https://bugs.python.org/issue25026 Requested by: Webair Inc :)
16 lines
670 B
Python
16 lines
670 B
Python
# 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]
|