diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2017-04-23 21:16:47 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2017-04-23 21:16:47 +0000 |
commit | 38e0c39859efc2f503a03e3a817b58248d262e96 (patch) | |
tree | d1efb747a9828d4c9e3d82358cf81ab323c5b40d /lang/python27/files/extra-patch-setup.py | |
parent | Update to upstream release 11.0.0 (diff) |
- Remove SEM option by making it always avalible
Since FreeBSD 8.x EOL in 2015-08-01 the option doesn't have any value beyond
footshooting[1]. sem_open() and sem_init(pshared=1) always work FreeBSD 9.0
or later after base r201546.
[1] https://lists.freebsd.org/pipermail/freebsd-ports/2017-April/108116.html
PR: 218641
Reported by: jbeich
Exp-run: antoine
MFH: 2017Q2
Differential Revision: https://reviews.freebsd.org/D10446
Diffstat (limited to 'lang/python27/files/extra-patch-setup.py')
-rw-r--r-- | lang/python27/files/extra-patch-setup.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lang/python27/files/extra-patch-setup.py b/lang/python27/files/extra-patch-setup.py deleted file mode 100644 index ceeb335e319c..000000000000 --- a/lang/python27/files/extra-patch-setup.py +++ /dev/null @@ -1,30 +0,0 @@ -# Description: SEM option patch. If SEM is enabled, enable the build properly -# Not upstreamed - ---- setup.py.orig 2013-04-07 11:07:43.000000000 +0400 -+++ setup.py 2013-04-07 11:16:36.000000000 +0400 -@@ -1551,10 +1551,22 @@ - macros = dict() - libraries = [] - -- elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11'): -+ 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', 'freebsd11'): -+ macros = dict( # FreeBSD 7+ -+ HAVE_SEM_OPEN=1, -+ HAVE_SEM_TIMEDWAIT=1, -+ HAVE_FD_TRANSFER=1, -+ ) - libraries = [] - - elif host_platform.startswith('openbsd'): |