aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-31 12:37:59 -0700
committerAdam Vandenberg2010-10-31 12:37:59 -0700
commiteb4c431a56eab3f4880745c91414f8ce068eae7e (patch)
treeda275e43e937bc07f1b6999f7569e4cae005d1e2 /Library/Formula
parent8d301273f0d8694434e322254cc3807861219e1d (diff)
downloadhomebrew-eb4c431a56eab3f4880745c91414f8ce068eae7e.tar.bz2
OpenLDAP - add installation workaround
OpenLDAP requires BDB 4.x. Added instructions for installing to the caveats.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/openldap.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/openldap.rb b/Library/Formula/openldap.rb
index 5408bfee5..ee93a9e9a 100644
--- a/Library/Formula/openldap.rb
+++ b/Library/Formula/openldap.rb
@@ -11,4 +11,12 @@ class Openldap <Formula
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
+
+ def caveats; <<-EOS.undent
+ OpenLDAP depends on berkeley-db 4.x, but Homebrew provides version 5.x,
+ which doesn't work. To work around this, do:
+ $ brew install http://github.com/adamv/homebrew/raw/versions/Library/Formula/berkeley-db4.rb --without-java
+ $ brew install --ignore-dependencies openldap
+ EOS
+ end
end