mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
11bf569497
. lang/python27: 2.7.3 -> 2.7.5 . lang/python32: 3.2.3 -> 3.2.4 . lang/python33: 3.3.0 -> 3.3.1 - update Mk/bsd.python.mk with new versions - mark lang/python26 and lang/python31 as deprecated (set them to upstream EoL dates) - update docs (lang/python-doc-html) - align databases/py-bsddb patch for python27 - most of it was applied upstream. Raise BDB version to 4.3 atleast, according to upstream requirements. Many thanks to Martin (miwi) for his time on this update. PR: 178506 Submitted by: rm (myself) Exp-run by: portmgr (miwi) - revert erroneous threads patch in lang/python26 and lang/python27, that was added after ports/131080. It was rejected upstream, because it's not actually a bug, but misuse. Gabor Pali (pgj) in collaboration with Kubilay Kocak (koobs) did an independent investigation regard the issue. See here for details: http://lists.freebsd.org/pipermail/freebsd-python/2013-April/005376.html PR: 153167 Submitted by: Duncan Findlay <duncan@duncf.ca> Reported by: pgj/koobs (at python@ ML) Exp-run by: portmgr (miwi)
28 lines
1.1 KiB
Python
28 lines
1.1 KiB
Python
--- setup.py.orig 2013-04-07 11:07:43.000000000 +0400
|
|
+++ setup.py 2013-04-07 11:16:36.000000000 +0400
|
|
@@ -1544,10 +1544,22 @@
|
|
macros = dict()
|
|
libraries = []
|
|
|
|
- elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'):
|
|
+ elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6'):
|
|
# FreeBSD's P1003.1b semaphore support is very experimental
|
|
# and has many known problems. (as of June 2008)
|
|
- macros = dict()
|
|
+ macros = dict( # FreeBSD 4-6
|
|
+ HAVE_SEM_OPEN=0,
|
|
+ HAVE_SEM_TIMEDWAIT=0,
|
|
+ HAVE_FD_TRANSFER=1,
|
|
+ )
|
|
+ libraries = []
|
|
+
|
|
+ elif host_platform in ('freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'):
|
|
+ macros = dict( # FreeBSD 7+
|
|
+ HAVE_SEM_OPEN=1,
|
|
+ HAVE_SEM_TIMEDWAIT=1,
|
|
+ HAVE_FD_TRANSFER=1,
|
|
+ )
|
|
libraries = []
|
|
|
|
elif host_platform.startswith('openbsd'):
|