Fix Thrift on Lion

Closes Homebrew/homebrew#6575.
This commit is contained in:
Max Howell 2011-09-01 08:46:56 +01:00
parent 4c0114a3c3
commit 4bed7b2942

View file

@ -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