aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-09-21 20:47:28 -0500
committerJack Nagel2013-09-21 21:04:40 -0500
commita5856c39a5b7e6e5c14420277f93d255a6f16a20 (patch)
tree2745b7c0cfda52d2a66af2e260f08f95006bf8da
parent3f6591d83b1a153c8435e61b3106d377adda1be9 (diff)
downloadhomebrew-a5856c39a5b7e6e5c14420277f93d255a6f16a20.tar.bz2
mpich2: use spec deps
-rw-r--r--Library/Formula/mpich2.rb13
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/mpich2.rb b/Library/Formula/mpich2.rb
index 1b2bde2d4..69919f57f 100644
--- a/Library/Formula/mpich2.rb
+++ b/Library/Formula/mpich2.rb
@@ -8,18 +8,17 @@ class Mpich2 < Formula
mirror 'http://fossies.org/linux/misc/mpich-3.0.4.tar.gz'
sha1 'e89cc8de89d18d5718f7b881f3835b5a0943f897'
- head 'git://git.mpich.org/mpich.git'
+ head do
+ url 'git://git.mpich.org/mpich.git'
- option 'disable-fortran', "Do not attempt to build Fortran bindings"
- option 'enable-shared', "Build shared libraries"
-
- # the HEAD version requires the autotools to be installed
- # (autoconf>=2.67, automake>=1.12.3, libtool>=2.4)
- if build.head?
depends_on 'automake' => :build
depends_on 'libtool' => :build
end
+
+ option 'disable-fortran', "Do not attempt to build Fortran bindings"
+ option 'enable-shared', "Build shared libraries"
+
depends_on :fortran unless build.include? 'disable-fortran'
conflicts_with 'open-mpi', :because => 'both install mpi__ compiler wrappers'