1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/math/umfpack/files/patch-Make+Make.freebsd
Maho Nakata 7ae7e397b5 * Migrate to gfortran.
* Bump port revision.
* Use gfortran compiled atlas/blas/lapack.
2007-01-13 00:34:33 +00:00

37 lines
1.1 KiB
Plaintext

--- Make/Make.freebsd.orig Sun May 28 22:27:24 2006
+++ Make/Make.freebsd Sun May 28 22:35:56 2006
@@ -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 = %%CFLAGS%%
# 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 = -DGETRUSAGE -DCBLAS -I../ATLAS/include -I%%LOCALBASE%%/include
+# LIB = %%CBLAS_LIBS%% -lm
# 3: with Fortran interface to the ATLAS BLAS
-# CONFIG =
-# LIB = -lf77blas -latlas -lfrtbegin -lg2c -lm
+CONFIG = -DGETRUSAGE
+LIB = -L%%LOCALBASE%%/lib %%BLAS%% %%GCCLIBDIR%% %%FORTRANLIBS%% -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