aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-09-01 08:46:56 +0100
committerMax Howell2011-09-01 08:47:45 +0100
commit54ff63335b14dcf7c9b7f56172669a9eadff9140 (patch)
tree71edbcaa3ccf855108c702372e72373eb24374eb /Library
parent68e8a908b508acbeaa909a6127a25dd0184f7418 (diff)
downloadhomebrew-54ff63335b14dcf7c9b7f56172669a9eadff9140.tar.bz2
Fix Thrift on Lion
Closes #6575.
Diffstat (limited to 'Library')
-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