aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-05-22 21:20:09 -0500
committerJack Nagel2014-05-22 21:20:09 -0500
commitb7e25c8f40a2bea9b93e8725c5871b772392ab3a (patch)
treecc3c11d64760991106ca35cbe263113594087838
parent6f32ded331e8a40817cd58a33c2dda114e9d40a1 (diff)
downloadhomebrew-b7e25c8f40a2bea9b93e8725c5871b772392ab3a.tar.bz2
libpst needs boost-python
-rw-r--r--Library/Formula/libpst.rb7
1 files changed, 6 insertions, 1 deletions
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