From 4f549da1153a78a559a12f1bd6f074c09ce241e6 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 4 Aug 2015 19:00:30 +0100 Subject: [PATCH] formula_support: add provided_pre_mavericks Closes Homebrew/homebrew#42460. Signed-off-by: Dominyk Tiller --- Library/Homebrew/formula_support.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index f6bb000bc2..d3e0a6bda2 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,8 +32,11 @@ 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.