aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2015-08-04 19:00:30 +0100
committerDominyk Tiller2015-08-04 21:26:36 +0100
commit4f549da1153a78a559a12f1bd6f074c09ce241e6 (patch)
tree7bb32cc9d6431ef4cc86279ce63c980b1d3cfc9a /Library
parente1d736a0fad6f36b51eca65d8f0fae3a126e0ac4 (diff)
downloadbrew-4f549da1153a78a559a12f1bd6f074c09ce241e6.tar.bz2
formula_support: add provided_pre_mavericks
Closes Homebrew/homebrew#42460. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_support.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index f6bb000bc..d3e0a6bda 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -13,6 +13,8 @@ class KegOnlyReason
case @reason
when :provided_pre_mountain_lion
MacOS.version < :mountain_lion
+ when :provided_pre_mavericks
+ MacOS.version < :mavericks
when :provided_until_xcode43
MacOS::Xcode.version < "4.3"
when :provided_until_xcode5
@@ -30,9 +32,12 @@ OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
EOS
when :shadowed_by_osx then <<-EOS
-OS X provides similar software, and installing this software in
+OS X provides similar software and installing this software in
parallel can cause all kinds of trouble.
EOS
+ when :provided_pre_mavericks then <<-EOS
+OS X already provides this software in versions before Mavericks.
+EOS
when :provided_pre_mountain_lion then <<-EOS
OS X already provides this software in versions before Mountain Lion.
EOS