aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-30 15:59:05 -0700
committerAdam Vandenberg2010-10-30 15:59:05 -0700
commit8ef4f58818916490f1246c91ccf402c7ca18c818 (patch)
tree4620fa4b77fa2b4e1fba688d14906c0e288dba05
parent7d1be624fac1d59e43ea1d71cb74dd893cf93207 (diff)
downloadhomebrew-8ef4f58818916490f1246c91ccf402c7ca18c818.tar.bz2
thrift - reformat
-rw-r--r--Library/Formula/thrift.rb23
1 files changed, 12 insertions, 11 deletions
diff --git a/Library/Formula/thrift.rb b/Library/Formula/thrift.rb
index 8d6f2e0a3..68b547be8 100644
--- a/Library/Formula/thrift.rb
+++ b/Library/Formula/thrift.rb
@@ -11,17 +11,18 @@ class Thrift <Formula
def install
cp "/usr/X11/share/aclocal/pkg.m4", "aclocal"
system "./bootstrap.sh" if version == 'HEAD'
- system "./configure","--disable-debug","--without-java",
- "--prefix=#{prefix}","--libdir=#{lib}",
- # rationale: this can be installed with easy_install
- # and when you do that, it installs properly, we
- # can't install it properly without leaving Homebrew's prefix
- "--without-python",
- # again, use gem
- "--without-ruby",
- "--without-perl",
- # this wants to alter the system wide autoloads file
- "--without-php"
+
+ # Language bindings try to install outside of Homebrew's prefix, so
+ # omit them here. For ruby you can install the gem, and for Python
+ # you can use pip or easy_install.
+ system "./configure", "--disable-debug",
+ "--prefix=#{prefix}",
+ "--libdir=#{lib}",
+ "--without-java",
+ "--without-python",
+ "--without-ruby",
+ "--without-perl",
+ "--without-php"
system "make"
system "make install"
end