3 | | So, I solved the build error on my system by commenting out #include <MacTypes.h> in config/os/macosx/pThreadUtilities.h. |
| 6 | At first, I solved the build error by just commenting out '''#include <MacTypes.h>''' in config/os/macosx/pThreadUtilities.h. It doesn't seem to need it, and I thought I didn't even have that file. |
| 7 | |
| 8 | It later occurred to me that I forgot to check for MacTypes.h under /System. I actually do have it here: |
| 9 | |
| 10 | /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacTypes.h |
| 11 | |
| 12 | So I think kgibson's method (removing mactypes.patch from Portfile) is a better answer, as it will leave '''#include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>''' which should find the file properly. |