From 8830e8bdbcf0df3d92dc42751cee3ffa9f8ddced Mon Sep 17 00:00:00 2001 From: commitay Date: Mon, 10 Sep 2018 07:51:24 +1000 Subject: [PATCH] gcc@4.9: make `pour_bottle` consistent --- Formula/gcc@4.9.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Formula/gcc@4.9.rb b/Formula/gcc@4.9.rb index f5d006b5d8..0e389cc863 100644 --- a/Formula/gcc@4.9.rb +++ b/Formula/gcc@4.9.rb @@ -76,8 +76,9 @@ class GccAT49 < 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 # GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib