aboutsummaryrefslogtreecommitdiff
path: root/math/umfpack/files/patch-Make+Make.freebsd
blob: 6e68a56ca995f0ffb701096b54b4dc6fa3c540c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- Make/Make.freebsd.orig	Fri Mar 18 22:29:13 2005
+++ Make/Make.freebsd	Fri Mar 18 22:30:13 2005
@@ -6,8 +6,8 @@
 # if you use the Intel compiler and the Fortran BLAS.
 
 # Using GNU gcc and f77 compilers:
-  CC = gcc
-  CFLAGS = -O3 -fPIC
+  CC ?= cc
+  CFLAGS ?= -O3 -fPIC
 
 # Using Intel's icc and ifc compilers:
 # F77 = ifc
@@ -36,16 +36,16 @@
 # LIB = -lm
 
 # 2: with the ATLAS C-BLAS (http://www.netlib.org/atlas).
-# CONFIG = -DCBLAS -I../ATLAS/include
-# LIB = -lcblas -latlas -lm
+CONFIG = -DCBLAS -I../ATLAS/include -I${LOCALBASE}/include
+LIB = -L${LOCALBASE}/lib -lcblas -latlas -lm
 
 # 3: with Fortran interface to the ATLAS BLAS
-# CONFIG =
-# LIB = -lf77blas -latlas -lfrtbegin -lg2c -lm
+# CONFIG = -I${LOCALBASE}/include
+# LIB = -L${LOCALBASE}/lib -lf77blas -latlas -lfrtbegin -lg2c -lm
 
 # 4: with Fortran interface to the BLAS, and Goto's BLAS
-  CONFIG =
-  LIB = -lgoto -lxerbla -lfrtbegin -lg2c -lm
+#  CONFIG =
+#  LIB = -lgoto -lxerbla -lfrtbegin -lg2c -lm
 
 # 5: with Fortran interface to the BLAS, and Goto's BLAS, and no divide-by-zero
 # CONFIG = -DNO_DIVIDE_BY_ZERO