Skip to content

Commit

Permalink
quantlib: boost 1.57 compatibility
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#34072.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
  • Loading branch information
tdsmith committed Nov 10, 2014
1 parent fe9187b commit e9c2d07
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Formula/quantlib.rb
Expand Up @@ -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

0 comments on commit e9c2d07

Please sign in to comment.