diff options
| author | Mike McQuaid | 2014-07-17 12:30:49 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-17 12:36:55 -0700 |
| commit | a252214738599120551262afe4137152cc28dbb9 (patch) | |
| tree | f9247298c1b1548cd7f4af1c214be836885af9ed /Library | |
| parent | d1dfea223958d3f527b18017cfa76d6a47f7c20c (diff) | |
| download | homebrew-a252214738599120551262afe4137152cc28dbb9.tar.bz2 | |
boost: fail on python and python3 options.
Close #30914.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/boost.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index 23924908a..8f489245f 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -54,6 +54,10 @@ class Boost < Formula depends_on UniversalPython if build.universal? and build.with? "python" depends_on UniversalPython3 if build.universal? and build.with? "python3" + if build.with?("python3") && build.with?("python") + odie "boost: --with-python3 cannot be specified when using --with-python" + end + if build.with? 'icu' if build.cxx11? depends_on 'icu4c' => 'c++11' |
