aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_support.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index b406f2321..1bf3fbc58 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -133,7 +133,7 @@ class KegOnlyReason
@reason = reason
@explanation = explanation
@valid = case @reason
- when :when_xquartz_installed then MacOS::XQuartz.installed?
+ when :provided_pre_mountain_lion then MacOS.version < :mountain_lion
else true
end
end
@@ -150,8 +150,8 @@ class KegOnlyReason
#{@explanation}
EOS
- when :when_xquartz_installed then <<-EOS.undent
- XQuartz provides this software.
+ when :provided_pre_mountain_lion then <<-EOS.undent
+ Mac OS X already provides this software in versions before Mountain Lion.
#{@explanation}
EOS