diff options
| author | Jack Nagel | 2013-09-21 20:47:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-21 21:05:07 -0500 |
| commit | 06af3bd503fcf0fc6a060e95b85895514cd8f9ac (patch) | |
| tree | 0df73712a33c1572d45c9a037ae7ddaaa13955de | |
| parent | f4ad88221c995346a743f7bfff195d196f53e6a1 (diff) | |
| download | homebrew-06af3bd503fcf0fc6a060e95b85895514cd8f9ac.tar.bz2 | |
thrift: use spec deps
| -rw-r--r-- | Library/Formula/thrift.rb | 13 |
1 files changed, 7 insertions, 6 deletions
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 |
