From 592280c68d53cb8e5d7046852cde08b7d6c29b29 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 4 Jun 2013 13:52:17 +0100 Subject: [PATCH] boost: don't use bottle if python brew installed. Closes Homebrew/homebrew#20124. --- Formula/boost.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Formula/boost.rb b/Formula/boost.rb index b4027a57be..34e7d2c59b 100644 --- a/Formula/boost.rb +++ b/Formula/boost.rb @@ -43,6 +43,12 @@ class Boost < Formula cause "Dropped arguments to functions when linking with boost" end + def pour_bottle? + # Don't use the bottle if there is a Homebrew python installed as users + # will probably want to link against that instead. + not Formula.factory('python').installed? + end + def install # Adjust the name the libs are installed under to include the path to the # Homebrew lib directory so executables will work when installed to a