aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-10-31 21:35:07 -0700
committerAdam Vandenberg2012-10-31 21:35:07 -0700
commit09a34332ef25036be7d7dfed3dd7bf2eae7828dd (patch)
treeb3e09034ea749732d50769c412ffc5870bb1a9be /Library
parent2bc0d2f120974b679a83f8251227669bd460425c (diff)
downloadhomebrew-09a34332ef25036be7d7dfed3dd7bf2eae7828dd.tar.bz2
librets: use boost 1.49
Also, disable building Ruby bindings, as they try to install to a system folder that the user may not have permission to. Closes #14341.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/librets.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/librets.rb b/Library/Formula/librets.rb
index f184acb36..1bf328d59 100644
--- a/Library/Formula/librets.rb
+++ b/Library/Formula/librets.rb
@@ -5,18 +5,20 @@ class Librets < Formula
url 'http://www.crt.realtors.org/projects/rets/librets/files/librets-1.5.3.tar.gz'
sha1 '2de4d9e9cb26533eb0a9a090b3354a70ed3c41ec'
- depends_on 'boost'
- depends_on 'swig' if MacOS.version >= :lion
+ depends_on 'boost149'
def install
+ old_boost = Formula.factory("boost149")
system "./configure", "--disable-debug",
"--enable-shared_dependencies",
"--prefix=#{prefix}",
+ "--with-boost-prefix=#{old_boost.prefix}",
"--disable-dotnet",
"--disable-java",
"--disable-perl",
"--disable-php",
- "--disable-python"
+ "--disable-python",
+ "--disable-ruby"
system "make install"
end
end