aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorElliot Saba2012-04-08 09:12:34 -0700
committerAdam Vandenberg2012-04-08 11:46:41 -0700
commit32db4e2fae4f0e5654f975959a477b758e023d6c (patch)
tree654edc766f7f5b6e63e89767a3d994a70df28b84 /Library
parent10cc5b35cc31a72aafbce9914fdf7de51a713d99 (diff)
downloadhomebrew-32db4e2fae4f0e5654f975959a477b758e023d6c.tar.bz2
Fix warnings on SuiteSparse
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/suite-sparse.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/Library/Formula/suite-sparse.rb b/Library/Formula/suite-sparse.rb
index b6e5f7a8c..bd08d43a3 100644
--- a/Library/Formula/suite-sparse.rb
+++ b/Library/Formula/suite-sparse.rb
@@ -10,7 +10,7 @@ class SuiteSparse < Formula
def install
# SuiteSparse doesn't like to build in parallel
- ENV.deparallelize
+ ENV.j1
# So, SuiteSparse was written by a scientific researcher. This
# tends to result in makefile-based build systems that are completely
@@ -25,11 +25,6 @@ class SuiteSparse < Formula
metis = Formula.factory("metis")
inreplace 'UFconfig/UFconfig.mk' do |s|
- # Compilers
- s.change_make_var! "CC", ENV.cc
- s.change_make_var! "CFLAGS", ENV.cflags
- s.change_make_var! "CPLUSPLUS", ENV.cxx
-
# Libraries
s.change_make_var! "BLAS", "-Wl,-framework -Wl,Accelerate"
s.change_make_var! "LAPACK", "$(BLAS)"
@@ -43,9 +38,6 @@ class SuiteSparse < Formula
s.change_make_var! "INSTALL_INCLUDE", include
end
- # Remove a stray Lib prefix
- inreplace 'UFconfig/Makefile', %r|Lib/|, ''
-
system "make library"
lib.mkpath