aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/quantlib.rb
diff options
context:
space:
mode:
authorTim D. Smith2014-11-10 11:14:24 -0800
committerTim D. Smith2014-11-10 12:37:13 -0800
commita00c678a526f7c4612f1335e218681f41115dc6a (patch)
treede49bb719464426394f96a4073aa44914a45760e /Library/Formula/quantlib.rb
parente7137b1517e8e6929541654d4c738537e3ac7ad1 (diff)
downloadhomebrew-a00c678a526f7c4612f1335e218681f41115dc6a.tar.bz2
quantlib: boost 1.57 compatibility
Closes #34072. Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula/quantlib.rb')
-rw-r--r--Library/Formula/quantlib.rb9
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