aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/boost.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-06-04 13:52:17 +0100
committerMike McQuaid2013-06-04 13:52:23 +0100
commit805e22566caee8f0e1c6e51faedae0be4f73597d (patch)
tree7b7d8edd27ed80a0c3250e3b58d42ac563264110 /Library/Formula/boost.rb
parentad794563883c28d2c4257683d8c8ff5f73eda829 (diff)
downloadhomebrew-805e22566caee8f0e1c6e51faedae0be4f73597d.tar.bz2
boost: don't use bottle if python brew installed.
Closes #20124.
Diffstat (limited to 'Library/Formula/boost.rb')
-rw-r--r--Library/Formula/boost.rb6
1 files changed, 6 insertions, 0 deletions
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