From 1f32fa43a77d75fe354e9e59bd23e9b9d934e09c Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 7 Jul 2012 11:08:22 -0700 Subject: Use autotools symbols --- Library/Formula/zookeeper.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Library/Formula/zookeeper.rb') diff --git a/Library/Formula/zookeeper.rb b/Library/Formula/zookeeper.rb index e0899bc70..3d17b734c 100644 --- a/Library/Formula/zookeeper.rb +++ b/Library/Formula/zookeeper.rb @@ -7,6 +7,11 @@ class Zookeeper < Formula head 'http://svn.apache.org/repos/asf/zookeeper/trunk' + if ARGV.build_head? + depends_on :automake + depends_on :libtool + end + def options [ ["--c", "Build C bindings."], @@ -42,11 +47,6 @@ class Zookeeper < Formula EOS end - if ARGV.build_head? and MacOS.xcode_version >= "4.3" - depends_on "automake" => :build - depends_on "libtool" => :build - end - def install # Don't try to build extensions for PPC if Hardware.is_32_bit? -- cgit v1.2.3