diff options
| author | Erlendur | 2014-03-25 01:23:24 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-04-05 09:45:18 -0500 |
| commit | f0a44642a49bd2e2d152672f5760c7ea9354f25b (patch) | |
| tree | 46da21dcd619b144e55ba390d4dd7d736fa5b5d4 /Library | |
| parent | 36fc14c04ea91925efbcd768a6a925c25d51392f (diff) | |
| download | homebrew-f0a44642a49bd2e2d152672f5760c7ea9354f25b.tar.bz2 | |
open-babel: fix build with libc++
Backport of upstream commit, allowing libc++ to work with Open-babel 2.3.2
Fixes #23831.
Fixes #28108.
Closes #27264.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/open-babel.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/open-babel.rb b/Library/Formula/open-babel.rb index 7a2c260a8..b72b40363 100644 --- a/Library/Formula/open-babel.rb +++ b/Library/Formula/open-babel.rb @@ -21,6 +21,12 @@ class OpenBabel < Formula sha1 "e304c308b39a465b632b397aa669c26f4b375da1" end + # Patch to support Mavericks's libc++, a backport of upstream commit c3abbddae78e654df9322ad1020ff79dd6332946 + patch do + url "https://gist.github.com/erlendurj/40689d57bea3b0b0c767/raw/f8c87557bcdbd79fb796e06088cdd77123c9260a/ob-mavericks.patch" + sha1 "3ea95b20fdbe50f656f3073ef8916974495b569a" + end + def install args = %W[ -DCMAKE_INSTALL_PREFIX=#{prefix} ] args << "-DJAVA_BINDINGS=ON" if build.with? 'java' |
