From 6243514e673ca34ae78543649ba60fcbcd89e797 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Wed, 1 Feb 2012 08:58:08 -0800 Subject: Eigen: Use ENV.gfortran The Eigen buildsystem looks for a Fortran compiler, using `ENV.gfortran` will help it find the right one. Fixes #9878. --- Library/Formula/eigen.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') 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}" -- cgit v1.2.3