Permalink
Browse files

mesos: don't use internal zookeeper on Yosemite.

  • Loading branch information...
DomT4 authored and MikeMcQuaid committed Oct 7, 2014
1 parent 51634ce commit 4f9baaa58aec42fdf803dd9b1a2087ba39839c02
Showing with 13 additions and 5 deletions.
  1. +13 −5 Formula/mesos.rb
View
@@ -12,15 +12,23 @@ class Mesos < Formula
depends_on :java => "1.7"
depends_on :macos => :mountain_lion
depends_on "maven" => :build
# Use our Zookeeper for Yosemite and not the one shipped with Mesos
# Remove with next release.
# See https://github.com/Homebrew/homebrew/issues/32965
depends_on "zookeeper" if MacOS.version == :yosemite
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
args = ["--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules"
]
args << "--with-zookeeper=#{Formula["zookeeper"].opt_prefix}" if MacOS.version == :yosemite
system "./configure", *args
system "make"
system "make", "install"
end

0 comments on commit 4f9baaa

Please sign in to comment.