diff options
Diffstat (limited to 'Library/Homebrew/extend/os/mac/development_tools.rb')
| -rw-r--r-- | Library/Homebrew/extend/os/mac/development_tools.rb | 15 | 
1 files changed, 10 insertions, 5 deletions
diff --git a/Library/Homebrew/extend/os/mac/development_tools.rb b/Library/Homebrew/extend/os/mac/development_tools.rb index caa85ffca..66b3bf9d2 100644 --- a/Library/Homebrew/extend/os/mac/development_tools.rb +++ b/Library/Homebrew/extend/os/mac/development_tools.rb @@ -43,11 +43,16 @@ class DevelopmentTools      end      def custom_installation_instructions -      if MacOS.version > :tiger +      if MacOS.version > :leopard          <<-EOS.undent            Install GNU's GCC              brew install gcc          EOS +      elsif MacOS.version > :tiger +        <<-EOS.undent +          Install GNU's GCC +            brew install gcc@4.6 +        EOS        else          # Tiger doesn't ship with apple-gcc42, and this is required to build          # some software that doesn't build properly with FSF GCC. @@ -55,7 +60,7 @@ class DevelopmentTools            Install Apple's GCC              brew install apple-gcc42            or GNU's GCC -            brew install gcc +            brew install gcc@4.6          EOS        end      end @@ -77,10 +82,10 @@ class DevelopmentTools        end      end -    def curl_handles_most_https_homepages? -      # The system Curl is too old for some modern HTTPS homepages on +    def curl_handles_most_https_certificates? +      # The system Curl is too old for some modern HTTPS certificates on        # older macOS versions. -      MacOS.version >= :el_capitan +      !ENV["HOMEBREW_SYSTEM_CURL_TOO_OLD"].nil?      end      def subversion_handles_most_https_certificates?  | 
