5 Commits

Author SHA1 Message Date
Tim D. Smith
c803b3d967 FortranDependency: make sure gfortran ends up in PATH
Per requirements.rb:

    >  XXX If the satisfy block returns a Pathname, then make sure that it
    >  remains available on the PATH. This makes requirements like
    >    satisfy { which("executable") }
    >  work, even under superenv where "executable" wouldn't normally be on the
    >  PATH.
    >  This is undocumented magic and it should be removed, but we need to add
    >  a way to declare path-based requirements that work with superenv first.

Fixes homebrew/homebrew-python#170.

Closes Homebrew/homebrew#38448.
2015-04-08 09:01:23 -07:00
Mike McQuaid
326d3e07e9 fortran_dependency: use gcc instead of gfortran. 2014-05-16 17:42:07 +01:00
Mike McQuaid
e3f26a9ced Remove message from default_formula'd requirements 2013-07-01 23:16:38 +01:00
Jack Nagel
3abd9455a3 Rename Fortran requirement to fix option generation
So, `depends_on :fortran => :optional` will generate "--with-fortran"
rather than "--with-fortranRequired".
2013-06-25 21:12:15 -05:00
Adam Vandenberg
0f1d491d81 Add :fortran requirement 2013-06-24 07:35:42 -07:00