diff options
| author | Jack Nagel | 2014-04-03 09:11:51 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-03 09:12:51 -0500 |
| commit | a3b9b4890d1c26dc3fe3cfedbe2d22a189defca2 (patch) | |
| tree | eebb19960135c63fbe070e4eabcf4dc003dd11cd /Library/Homebrew | |
| parent | cca0584d97d34f92870911a39eaa58acafb819c6 (diff) | |
| download | homebrew-a3b9b4890d1c26dc3fe3cfedbe2d22a189defca2.tar.bz2 | |
Add keg-only reason symbols for Xcode 4.3 and Xcode 5
Closes #28095.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula_support.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index 7efda3564..587a5f3ce 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -14,6 +14,10 @@ class KegOnlyReason case @reason when :provided_pre_mountain_lion MacOS.version < :mountain_lion + when :provided_until_xcode43 + MacOS::Xcode.version < "4.3" + when :provided_until_xcode5 + MacOS::Xcode.version < "5.0" else true end @@ -32,6 +36,10 @@ class KegOnlyReason #{@explanation} EOS + when :provided_until_xcode43 + "Xcode provides this software prior to version 4.3.\n\n#{explanation}" + when :provided_until_xcode5 + "Xcode provides this software prior to version 5.\n\n#{explanation}" else @reason end.strip |
