Xcode.prefix: remove osx-gcc-installer hack

This hack is starting to outlive its usefulness, and produces false
positives.

Fixes Homebrew/homebrew#28147.
This commit is contained in:
Misty De Meo 2014-04-04 15:21:59 -07:00
parent 7c3c67d722
commit 89692b34a8

View File

@ -52,10 +52,6 @@ module OS
if path != CLT::MAVERICKS_PKG_PATH and path.absolute? \
and File.executable? "#{path}/usr/bin/make"
path
elsif File.executable? '/Developer/usr/bin/make'
# we do this to support cowboys who insist on installing
# only a subset of Xcode
Pathname.new('/Developer')
elsif File.executable? "#{V4_BUNDLE_PATH}/Contents/Developer/usr/bin/make"
# fallback for broken Xcode 4.3 installs
Pathname.new("#{V4_BUNDLE_PATH}/Contents/Developer")