diff options
Diffstat (limited to 'Library/Formula/boost.rb')
| -rw-r--r-- | Library/Formula/boost.rb | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index dbf8448ef..01bfc017f 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -64,7 +64,7 @@ class Boost < Formula    def install      # https://svn.boost.org/trac/boost/ticket/8841 -    if build.with? 'mpi' and not build.without? 'single' +    if build.with? 'mpi' and build.with? 'single'        raise <<-EOS.undent          Building MPI support for both single and multi-threaded flavors          is not supported.  Please use '--with-mpi' together with @@ -150,16 +150,16 @@ class Boost < Formula              "--user-config=user-config.jam",              "install"] -    if build.include? 'without-single' -      args << "threading=multi" -    else +    if build.with? "single"        args << "threading=multi,single" +    else +      args << "threading=multi"      end -    if build.include? 'without-static' -      args << "link=shared" -    else +    if build.with? "static"        args << "link=shared,static" +    else +      args << "link=shared"      end      args << "address-model=32_64" << "architecture=x86" << "pch=off" if build.universal? | 
