mesos: don't use internal zookeeper on Yosemite.
Closes Homebrew/homebrew#32965.
This commit is contained in:
parent
51634ce479
commit
4f9baaa58a
1 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue