diff options
| author | Ben Bleything | 2011-06-21 10:26:23 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-12-21 15:24:43 -0800 |
| commit | f82537e93c9307a23234afbfd33e94d9884f7fed (patch) | |
| tree | 139f0ef55b940761c5b154009bacbd2983a86d0b /Library | |
| parent | b3759c11a8f9a8788322914139b135470f2b9ca7 (diff) | |
| download | homebrew-f82537e93c9307a23234afbfd33e94d9884f7fed.tar.bz2 | |
librets: modify to work with Snow Leopard's SWIG
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/librets.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/librets.rb b/Library/Formula/librets.rb index ee80e9bf6..510bdb3ad 100644 --- a/Library/Formula/librets.rb +++ b/Library/Formula/librets.rb @@ -8,6 +8,15 @@ class Librets < Formula depends_on 'boost' def install + # allow compilation against the OSX-provided SWIG 1.3.31 + inreplace "configure", + " check=\"1.3.33\"", + " check=\"1.3.31\"" + + inreplace "project/build/ac-macros/swig.m4", + " check=\"1.3.33\"", + " check=\"1.3.31\"" + # Allow compilation against boost 1.46.0 inreplace "project/librets/src/RetsExceptionContext.cpp", "#include <boost/filesystem/path.hpp>", |
