From 8fea11e7646cd0b822927d480df2791af225a979 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 12 May 2011 07:24:10 -0700 Subject: [PATCH] brew doctor: warn about Mono and CMake --- Library/Homebrew/cmd/doctor.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 4017f73ee3..610b6ce9ac 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -637,6 +637,16 @@ def check_for_other_frameworks EOS end end + + if File.exist? "/Library/Frameworks/Mono.framework" + puts <<-EOS.undent + /Library/Frameworks/Mono.framework detected + + This can be picked up by Cmake's build system and likey cause the + build to fail, finding improper header files for libpng for instance. + + EOS + end end module Homebrew extend self