From 06af3bd503fcf0fc6a060e95b85895514cd8f9ac Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 21 Sep 2013 20:47:45 -0500 Subject: thrift: use spec deps --- Library/Formula/thrift.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/thrift.rb b/Library/Formula/thrift.rb index 60d138441..c5a41ba64 100644 --- a/Library/Formula/thrift.rb +++ b/Library/Formula/thrift.rb @@ -5,7 +5,13 @@ class Thrift < Formula url 'http://www.apache.org/dyn/closer.cgi?path=thrift/0.9.0/thrift-0.9.0.tar.gz' sha1 'fefcf4d729bf80da419407dfa028740aa95fa2e3' - head 'https://git-wip-us.apache.org/repos/asf/thrift.git', :branch => "master" + head do + url 'https://git-wip-us.apache.org/repos/asf/thrift.git', :branch => "master" + + depends_on :autoconf + depends_on :automake + depends_on :libtool + end option "with-haskell", "Install Haskell binding" option "with-erlang", "Install Erlang binding" @@ -15,11 +21,6 @@ class Thrift < Formula depends_on 'boost' depends_on :python => :optional - if build.head? - depends_on :autoconf - depends_on :automake - depends_on :libtool - end # Includes are fixed in the upstream. Please remove this patch in the next version > 0.9.0 def patches -- cgit v1.2.3