[MacPorts] #22705: pthsem breaks some ports because of pthread.h