aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/octave.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/octave.rb b/Library/Formula/octave.rb
index 9f9055302..96dbb3663 100644
--- a/Library/Formula/octave.rb
+++ b/Library/Formula/octave.rb
@@ -76,7 +76,9 @@ class Octave < Formula
"--prefix=#{prefix}",
# Cant use `-framework Accelerate` because `mkoctfile`, the tool used to
# compile extension packages, can't parse `-framework` flags.
- "--with-blas=#{'-ldotwrp ' if snow_leopard_64?}-Wl,-framework -Wl,Accelerate"
+ "--with-blas=#{'-ldotwrp ' if snow_leopard_64?}-Wl,-framework -Wl,Accelerate",
+ # SuiteSparse-4.x.x fix, see http://savannah.gnu.org/bugs/?37031
+ "--with-umfpack=-lumfpack -lsuitesparseconfig",
]
args << "--without-framework-carbon" if MacOS.lion?