mxcl/homebrew — pull request #10240 by zhouyan (2012-02-16 21:13:39+00:00)
Title: Remove ENV.fortran to avoid the confusing warning message

I noticed that the the eigen formula cause a warning for missing fortran due to the line containing ENV.fortran.

Though it is only a warning (and only for some users), and does not cause problem for installation, I think it cause some confusion for some users.

Eigen does not depend on fortran at all. Fortran is only used to build the test suites and only in some cases where it is required for the lapack and blas tests. Unless I am missing something here, even for the test suites, it is only required on linux not on mac, as mac's vecLib does not use fortran.

Anyway, the formula does not build and perform the tests, so there is no reason to include ENV.fortran. Install eigen requires nothing more than copying the include directory. This is exactly what eigen's install make target do. In addition, using Eigen does not requires fortran at all either. It is a pure C++ template library.

I suggest removing ENV.fortran to avoid the confusing warning message.