So, after seeing some talk in #anope and #anope-devel about a recent fix for 1.8.x under Mac OS X, I was looking into this. The issue was our own calculate_depends() function and the way CMake's find_path() works. For some reason, even though the CMake docs state that I should've just been able to set CMAKE_FIND_FRAMEWORK to "NEVER", that didn't cut it. Instead, I had to fix the loop that finds the default include dirs to properly get the framework directories, and then change calculate_depends() to loop over those and do a find based on the include directory found. That fixes this. Now the issue is more to do with one of the modules for 1.9.7 (or rather, 1.9 git) not compiling but that's a different story.