diff options
| -rw-r--r-- | Library/Formula/libpst.rb | 7 |
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 |
