ledger: do not depend on boost C++11
This commit is contained in:
parent
7ad94167f2
commit
463ccd73ab
1 changed files with 2 additions and 5 deletions
|
@ -20,14 +20,11 @@ class Ledger < Formula
|
|||
option "without-python", "Build without python support"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "boost"
|
||||
depends_on "gmp"
|
||||
depends_on "mpfr"
|
||||
depends_on :python => :recommended if MacOS.version <= :snow_leopard
|
||||
|
||||
boost_opts = []
|
||||
boost_opts << "c++11" if MacOS.version < "10.9"
|
||||
depends_on "boost" => boost_opts
|
||||
depends_on "boost-python" => boost_opts if build.with? "python"
|
||||
depends_on "boost-python" if build.with? "python"
|
||||
|
||||
needs :cxx11
|
||||
|
||||
|
|
Loading…
Reference in a new issue