From 805e22566caee8f0e1c6e51faedae0be4f73597d Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 4 Jun 2013 13:52:17 +0100 Subject: boost: don't use bottle if python brew installed. Closes #20124. --- Library/Formula/boost.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library') diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index b4027a57b..34e7d2c59 100644 --- a/Library/Formula/boost.rb +++ b/Library/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 -- cgit v1.2.3