aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBradley M. Froehle2012-08-30 12:50:07 -0700
committerAdam Vandenberg2012-08-31 10:45:58 -0700
commitd5b9168b83da335c0e58f27296536b6efd18cd0b (patch)
tree0ead6e3acdbe4caf0386313fd795b1d14cdcaae9 /Library
parent3309109b483314cf233c085b0fb849689fc1e906 (diff)
downloadhomebrew-d5b9168b83da335c0e58f27296536b6efd18cd0b.tar.bz2
Octave: Temporary SuiteSparse-4.x.x compatibility fix.
Avoids a missing "_SuiteSparse_time" symbol. See http://savannah.gnu.org/bugs/?37031 Closes #14572. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-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?