Properly mark conflicts between open-mpi, libevent, lcdf-typetools.

Closes Homebrew/homebrew#22376.
Closes Homebrew/homebrew#23621.
This commit is contained in:
Xiyue Deng 2013-10-26 00:57:23 -07:00
parent b2e76f9bd9
commit 53fae2b52d
3 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,8 @@ class LcdfTypetools < Formula
url 'http://www.lcdf.org/type/lcdf-typetools-2.99.tar.gz'
sha256 'cbb0ed8c42d078fb216b8f4b8ca7a29e0ad3c1969f580a6f2558c829a472adff'
conflicts_with 'open-mpi', :because => 'both install same set of binaries.'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",

View file

@ -17,6 +17,8 @@ class Libevent < Formula
option :universal
option 'enable-manpages', 'Install the libevent manpages (requires doxygen)'
conflicts_with 'open-mpi', :because => 'both install same set of header files'
fails_with :llvm do
build 2326
cause "Undefined symbol '_current_base' reported during linking."

View file

@ -9,6 +9,8 @@ class OpenMpi < Formula
option 'enable-mpi-thread-multiple', 'Enable MPI_THREAD_MULTIPLE'
conflicts_with 'mpich2', :because => 'both install mpi__ compiler wrappers'
conflicts_with 'libevent', :because => 'both install same set of header files'
conflicts_with 'lcdf-typetools', :because => 'both install same set of binaries.'
depends_on :fortran unless build.include? 'disable-fortran'