tap: don't print warning for apple-gcc42 failure.

This should be a temporary workaround until we get a grip on some
Mavericks/Xcode 5.0 issues with e.g. ghc and go (stuff in core
that currently needs GCC at runtime). These formulae both have
Clang fixes in development.

Things that needs GCC at compile-time should be booted from core.

References Homebrew/homebrew#22872.
References Homebrew/homebrew-dupes#229
This commit is contained in:
Mike McQuaid 2013-10-16 08:40:41 +01:00
parent a64e9d4f0a
commit 8b5b220d88

View File

@ -67,7 +67,10 @@ module Homebrew extend self
tapped += 1
else
to = to.realpath if to.exist?
opoo "Could not tap #{Tty.white}#{from.tap_ref}#{Tty.reset} over #{Tty.white}#{to.tap_ref}#{Tty.reset}"
# Whitelist gcc42 temporarily until Mavericks/Xcode 5.0 issues are resolved.
unless to.tap_ref == 'mxcl/master/apple-gcc42'
opoo "Could not tap #{Tty.white}#{from.tap_ref}#{Tty.reset} over #{Tty.white}#{to.tap_ref}#{Tty.reset}"
end
end
end
end