aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/thrift.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/thrift.rb b/Library/Formula/thrift.rb
index dafa1830d..40b196dbd 100644
--- a/Library/Formula/thrift.rb
+++ b/Library/Formula/thrift.rb
@@ -9,7 +9,11 @@ class Thrift < Formula
depends_on 'boost'
def install
- cp "/usr/X11/share/aclocal/pkg.m4", "aclocal"
+ # No reason for this step is known. On Lion at least the pkg.m4 doesn't
+ # even exist. Turns out that it isn't needed on Lion either. Possibly it
+ # isn't needed anymore at all but I can't test that.
+ cp "/usr/X11/share/aclocal/pkg.m4", "aclocal" if MACOS_VERSION < 10.7
+
system "./bootstrap.sh" if version == 'HEAD'
# Language bindings try to install outside of Homebrew's prefix, so