crossroads builds an internal libpgm from source, but that causes build errors because of a conflicting struct definition with OSX `netinet.h`. So instead of dealing with that, link crossroads against our libpgm-5.2 which builds without error. Add a couple of ENV vars to override `pkg-config` and help crossroads find the libpgm we now depend on, which it can't find otherwise because it's looking for `openpgm-5.1.pc` and we offer `openpgm-5.2.pc`. Crossroads passes `make check` on 10.8.2 with XCode-4.5. Fixes #15217 Closes #15255. Signed-off-by: Adam Vandenberg <email@example.com>
It's the kind of syntax error that GCC shouldn't allow so I don't see clang allowing it. This formula needs to be patched.
- Removed accidently added -py-debug - Ensure HOMEBREW_PREFIX/share/python exists as a dir - Don't change the sys.prefix (broke virtualenv) and instead add install-lib dir to distutils.cfg. superenv respects brewed python Closes #15220. Signed-off-by: Max Howell <firstname.lastname@example.org>