From 28c9b8f601d3cc707ba5222ef4265dc35d797f90 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Mon, 6 Aug 2012 13:24:56 -0400 Subject: [PATCH] Put the CLT advice warning in the right place Refs Homebrew/homebrew#13982. --- Library/Homebrew/cmd/doctor.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 7c97c143cd..4117458ef7 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -213,10 +213,7 @@ def check_for_latest_xcode else return <<-EOS.undent Experimental support for using the "Command Line Tools" without Xcode. - You have only installed Xcode. If stuff is not building, try installing - the Command Line Tools package. - You do not need Xcode for most Homebrew packages, the CLT is usually enough; - however having said this some packages DO require Xcode! Check for that. + Some formulae need Xcode to be installed (for the Frameworks not in the CLT.) EOS end else @@ -252,6 +249,8 @@ def check_cc if MacOS::Xcode.version >= "4.3" return <<-EOS.undent Experimental support for using Xcode without the "Command Line Tools". + You have only installed Xcode. If stuff is not building, try installing the + "Command Line Tools for Xcode" package. EOS else return <<-EOS.undent