diff options
| author | Adam Vandenberg | 2010-12-26 13:29:01 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-12-26 13:29:01 -0800 |
| commit | 22e34998afc6842adea456e5c2e27c59ef0938ef (patch) | |
| tree | ee523e8d3c816d48142fb63569ba6c02993dfc77 /Library/Formula | |
| parent | e02e45acd4fffed945fd43d2efdabb50cac52545 (diff) | |
| download | homebrew-22e34998afc6842adea456e5c2e27c59ef0938ef.tar.bz2 | |
Cmake - look for expat framework and warn
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cmake.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb index a58c8dcd5..c5e94022f 100644 --- a/Library/Formula/cmake.rb +++ b/Library/Formula/cmake.rb @@ -6,6 +6,16 @@ class Cmake <Formula homepage 'http://www.cmake.org/' def install + # A framework-installed expat will be detected and mess things up. + if File.exist? "/Library/Frameworks/expat.framework" + opoo "/Library/Frameworks/expat.framework detected" + puts <<-EOS.undent + This will be picked up by Cmake's build system and likey cause the + build to fail, trying to link to a 32-bit version of expat. + You may need to move this file out of the way for this brew to work. + EOS + end + # If we specify to CMake to use the system libraries by passing # --system-libs to bootstrap then it insists on finding them all # or erroring out, as that's what other Linux/OSX distributions |
