diff options
| author | Xiyue Deng | 2013-09-26 22:26:08 -0700 |
|---|---|---|
| committer | Xiyue Deng | 2013-09-26 22:40:31 -0700 |
| commit | a505360897a0b2c75b8b161797ee22402697a53a (patch) | |
| tree | 021d329f4fc0fa4c5ee4cf1cd96d0d7711808f11 /Library/Formula | |
| parent | 0459ea18a28239468772cae9608705d5a195542c (diff) | |
| download | homebrew-a505360897a0b2c75b8b161797ee22402697a53a.tar.bz2 | |
boost: fix error message to use "--without-single".
* Use raise to report error.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/boost.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index 570fa2672..702d6d315 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -56,13 +56,12 @@ class Boost < Formula def install # https://svn.boost.org/trac/boost/ticket/8841 - if build.with? 'mpi' and !build.without? 'single' - onoe <<-EOS.undent + if build.with? 'mpi' and not build.without? 'single' + raise <<-EOS.undent Building MPI support for both single and multi-threaded flavors is not supported. Please use '--with-mpi' together with - '--disable-single'. + '--without-single'. EOS - exit -1 end # Adjust the name the libs are installed under to include the path to the |
