mesos, rapidjson: denote conflict (#42226)

This commit is contained in:
Caleb Xu 2019-07-20 13:01:58 -04:00 committed by FX Coudert
parent 28a044e949
commit 8973ef74e8
2 changed files with 4 additions and 2 deletions

View file

@ -18,8 +18,8 @@ class Mesos < Formula
depends_on "python@2"
depends_on "subversion"
conflicts_with "nanopb-generator",
:because => "they depend on an incompatible version of protobuf"
conflicts_with "nanopb-generator", :because => "they depend on an incompatible version of protobuf"
conflicts_with "rapidjson", :because => "mesos installs a copy of rapidjson headers"
if DevelopmentTools.clang_build_version >= 802 # does not affect < Xcode 8.3
# _scheduler.so segfault when Mesos is built with Xcode 8.3.2

View file

@ -18,6 +18,8 @@ class Rapidjson < Formula
depends_on "cmake" => :build
depends_on "doxygen" => :build
conflicts_with "mesos", :because => "mesos installs a copy of rapidjson headers"
def install
system "cmake", ".", *std_cmake_args
system "make", "install"