DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

python semaphore support #94

Closed jorisgio closed 10 years ago

jorisgio commented 10 years ago

POSIX named semaphores have been commited in master, python ports need a few change for semaphore support to be built in.

python2 needs the SEM option both python2 and python3 need setup-py to be patched like that (for python27) : http://bugs.dragonflybsd.org/pastes/453

jrmarino commented 10 years ago

Perhaps it's not really necessary or already done? At least meld started working with nothing more than a rebuild of python...

jrmarino commented 10 years ago

jorisgio: can you provide patches if they are still needed?

jrmarino commented 10 years ago

Going back and re-reading: Python2, Python3: metaport, doesn't need it python27: only difference is that this patch has "libraries = ['pthread']" vs "libraries = []". I'm not sure a change to the patch is necessary. Python32,33,34: they might need a similar patch

jrmarino commented 10 years ago

it look like only the "macros = dict() ; libraries = ['pthread']" diff is missing from python 3. I am not sure pthread is even needed. None of the other FreeBSD use that. If the implementation of semaphore for pthread is similar to that of freebsd, it should be fine to leave libraries as "[]", right?

jrmarino commented 10 years ago

Okay, I updated all the python3 ports to define macros/libraries (without pthread). I think python27 was already working, and that this fixes python3x. Until I hear otherwise, I assume this issue is resolved.