aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-02-01 08:58:08 -0800
committerCharlie Sharpsteen2012-02-01 08:58:08 -0800
commit6243514e673ca34ae78543649ba60fcbcd89e797 (patch)
treedec1b19e56d1379c7e1611abf8a811cfda424326 /Library
parentef755ec6b2cf2479a6b275261b3dc1bcca18963b (diff)
downloadhomebrew-6243514e673ca34ae78543649ba60fcbcd89e797.tar.bz2
Eigen: Use ENV.gfortran
The Eigen buildsystem looks for a Fortran compiler, using `ENV.gfortran` will help it find the right one. Fixes #9878.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/eigen.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/eigen.rb b/Library/Formula/eigen.rb
index b65c67e4f..3d9f1ce64 100644
--- a/Library/Formula/eigen.rb
+++ b/Library/Formula/eigen.rb
@@ -8,6 +8,8 @@ class Eigen < Formula
depends_on 'cmake' => :build
def install
+ ENV.gfortran
+
mkdir 'eigen-build'
Dir.chdir 'eigen-build' do
system "cmake .. #{std_cmake_parameters} -DCMAKE_BUILD_TYPE=Release -Dpkg_config_libdir=#{lib}"