thrift: use spec deps
This commit is contained in:
parent
f4e4ec4939
commit
0986b6c7f6
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue