gcc: use new pour_bottle DSL.

This commit is contained in:
Mike McQuaid 2016-01-09 11:07:55 +00:00
parent 1ebedefbff
commit c63309e488

View file

@ -61,8 +61,9 @@ class Gcc < Formula
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
pour_bottle? do
reason "The bottle needs the Xcode CLT to be installed."
satisfy { MacOS::CLT.installed? }
end
def version_suffix