diff options
| author | Jack Nagel | 2014-11-17 00:39:19 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-17 00:41:15 -0600 |
| commit | 2a03947b3f49855176e4394f692d39be48ec951f (patch) | |
| tree | 5d4f3af4cf7c553b5a608fd19767499fa08cdc5e /Library | |
| parent | 62fe417f318e57bb93e9b835b88b67307a18d3c8 (diff) | |
| download | homebrew-2a03947b3f49855176e4394f692d39be48ec951f.tar.bz2 | |
mpich: update options
Remove "disable-shared" option. The circumstances that led to its
existence are no longer relevant. The current formula builds both
shared and static libraries, which is the norm in Homebrew.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mpich2.rb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/mpich2.rb b/Library/Formula/mpich2.rb index da5bec40d..0debc5cd6 100644 --- a/Library/Formula/mpich2.rb +++ b/Library/Formula/mpich2.rb @@ -27,10 +27,9 @@ class Mpich2 < Formula sha1 '2bea3f7cb3d69d2ea372e48f376187e91b929bb6' end - option 'disable-fortran', "Do not attempt to build Fortran bindings" - option 'disable-shared', "Do not build shared libraries" + deprecated_option "disable-fortran" => "without-fortran" - depends_on :fortran unless build.include? 'disable-fortran' + depends_on :fortran => :recommended conflicts_with 'open-mpi', :because => 'both install mpi__ compiler wrappers' @@ -48,11 +47,8 @@ class Mpich2 < Formula "--prefix=#{prefix}", "--mandir=#{man}" ] - args << "--disable-fortran" if build.include? "disable-fortran" - if build.include? 'disable-shared' - args << "--disable-shared" - end + args << "--disable-fortran" if build.without? "fortran" system "./configure", *args system "make" |
