summaryrefslogtreecommitdiff
path: root/math/umfpack/files/patch-Make+Make.freebsd
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-03-19 08:33:56 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-03-19 08:33:56 +0000
commit18c823ddce962d4d1b0683f67d1b72df5d30b5b2 (patch)
tree517fe47dce5044ac421e03097684e8c684919b8a /math/umfpack/files/patch-Make+Make.freebsd
parentfix distinfo + pkg-plist (diff)
Upgrade to to version 4.4.
PR: ports/79004 Submitted by: Pedro F. Giffuni
Diffstat (limited to 'math/umfpack/files/patch-Make+Make.freebsd')
-rw-r--r--math/umfpack/files/patch-Make+Make.freebsd36
1 files changed, 36 insertions, 0 deletions
diff --git a/math/umfpack/files/patch-Make+Make.freebsd b/math/umfpack/files/patch-Make+Make.freebsd
new file mode 100644
index 000000000000..6e68a56ca995
--- /dev/null
+++ b/math/umfpack/files/patch-Make+Make.freebsd
@@ -0,0 +1,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