gcc: use new pour_bottle DSL.
This commit is contained in:
parent
1ebedefbff
commit
c63309e488
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue