From b7e25c8f40a2bea9b93e8725c5871b772392ab3a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 22 May 2014 21:20:09 -0500 Subject: libpst needs boost-python --- Library/Formula/libpst.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libpst.rb b/Library/Formula/libpst.rb index 71675c591..d6729baa2 100644 --- a/Library/Formula/libpst.rb +++ b/Library/Formula/libpst.rb @@ -7,10 +7,15 @@ class Libpst < Formula option 'pst2dii', 'Build pst2dii using gd' - depends_on 'boost' depends_on :python => :optional depends_on 'gd' if build.include? 'pst2dii' + if build.with? "python" + depends_on "boost" => "with-python" + else + depends_on "boost" + end + def install args = %W[ --disable-dependency-tracking -- cgit v1.2.3