From a01a3bd5948faadc503f524dfd918e9121fe5c56 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 31 Oct 2014 20:54:09 -0500 Subject: [PATCH] Check for MacPorts/Fink installation only after build failures --- Library/Homebrew/cmd/install.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 4ddb30f0db..986ab6afc0 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -111,7 +111,6 @@ module Homebrew check_ppc check_writable_install_location check_xcode - check_macports check_cellar end @@ -139,5 +138,8 @@ module Homebrew # another formula. In that case, don't generate an error, just move on. rescue CannotInstallFormulaError => e ofail e.message + rescue BuildError + check_macports + raise end end