From 4f8be5bb66033ae1cd3e15a75f1a35ac1174440b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 19 Jun 2014 19:32:37 -0500 Subject: Remove obsolete doctor check Both build environments remove MACOSX_DEPLOYMENT_TARGET by default. --- Library/Homebrew/cmd/doctor.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 48c86af0a..b00ea583d 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -871,18 +871,6 @@ def check_for_linked_keg_only_brews end end -def check_for_MACOSX_DEPLOYMENT_TARGET - target = ENV.fetch('MACOSX_DEPLOYMENT_TARGET') { return } - - unless target == MacOS.version.to_s then <<-EOS.undent - MACOSX_DEPLOYMENT_TARGET was set to #{target.inspect} - This is used by Fink, but having it set to a value different from the - current system version (#{MacOS.version}) can cause problems, compiling - Git for instance, and should probably be removed. - EOS - end -end - def check_for_other_frameworks # Other frameworks that are known to cause problems when present %w{Mono.framework expat.framework libexpat.framework}. -- cgit v1.2.3