boost: don't use bottle if python brew installed.

Closes Homebrew/homebrew#20124.
This commit is contained in:
Mike McQuaid 2013-06-04 13:52:17 +01:00
parent 7e80d1c0f3
commit 592280c68d

View file

@ -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