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
commit8fea11e7646cd0b822927d480df2791af225a979 (patch)
treed38b00644eb4b7e8c27a472486d08b3180244af2 /Library
parentf4cd85aa49160d2223d40de12fb0cf719fed1108 (diff)
downloadbrew-8fea11e7646cd0b822927d480df2791af225a979.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