diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/quantlib.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/quantlib.rb b/Library/Formula/quantlib.rb index 3b9982337..5c4106866 100644 --- a/Library/Formula/quantlib.rb +++ b/Library/Formula/quantlib.rb @@ -21,10 +21,17 @@ class Quantlib < Formula depends_on 'boost' end + # boost 1.57 compatibility; backported from master + # https://github.com/lballabio/quantlib/issues/163 + patch do + url "https://gist.githubusercontent.com/tdsmith/b2d5909db67b3173db02/raw/364ae3a09eb1dbb8bd14a2b71d42fda0b4e0d8cc/quantlib-boost-157.diff" + sha1 "2ddc873bfb1baf33c7fc587211c281600ddfa182" + end + def install ENV.cxx11 if build.cxx11? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "make", "install" end end |
