aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-05-12 07:24:10 -0700
committerAdam Vandenberg2011-05-12 07:24:10 -0700
commit08329627dcafc0f1775410780a49b22010118f4a (patch)
tree8b0fbfc119b3ef85b5c511170b9ed17d4953d5ae /Library
parent22c6781e44ecc2b2c6073dbe8ed5915d029b8267 (diff)
downloadhomebrew-08329627dcafc0f1775410780a49b22010118f4a.tar.bz2
brew doctor: warn about Mono and CMake
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 4017f73ee..610b6ce9a 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