aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/librets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/librets.rb')
-rw-r--r--Library/Formula/librets.rb9
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>",