summaryrefslogtreecommitdiff
path: root/math/lapack/files/patch-make.inc.gfortran
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-09-29 12:53:56 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-09-29 12:53:56 +0000
commit01f7ecb3eab5f274be76028fa2daa70385714fca (patch)
treee1bd131fe2eb4c3cb2f7fa743b6058f5cd968472 /math/lapack/files/patch-make.inc.gfortran
parent- Revert: overlooked the distinfo fix (diff)
Update to 3.3.1.
According to http://www.netlib.org/lapack/lapack-3.1.0.changes > The interfaces to primary computational routines are fixed and > will not be changed by minor LAPACK versions (e.g. 3.x). > Primary routines are those prefixed by a precision and matrix > type like SGERFS, CUNMQR, ZHEGV, etc., and these interfaces > will remain the same for all LAPACK version 3 versions. So I didn't change the version number of shared lib. See also PR: 116166
Diffstat (limited to 'math/lapack/files/patch-make.inc.gfortran')
-rw-r--r--math/lapack/files/patch-make.inc.gfortran36
1 files changed, 36 insertions, 0 deletions
diff --git a/math/lapack/files/patch-make.inc.gfortran b/math/lapack/files/patch-make.inc.gfortran
new file mode 100644
index 000000000000..8bc5c2efe903
--- /dev/null
+++ b/math/lapack/files/patch-make.inc.gfortran
@@ -0,0 +1,36 @@
+--- INSTALL/make.inc.gfortran.orig 2007-02-24 05:07:35.000000000 +0900
++++ INSTALL/make.inc.gfortran 2007-09-29 10:22:01.000000000 +0900
+@@ -8,7 +8,7 @@
+ #
+ # The machine (platform) identifier to append to the library names
+ #
+-PLAT = _LINUX
++PLAT = _FREEBSD
+ #
+ # Modify the FORTRAN and OPTS definitions to refer to the
+ # compiler and desired compiler options for your machine. NOOPT
+@@ -16,11 +16,11 @@
+ # selected. Define LOADER and LOADOPTS to refer to the loader and
+ # desired load options for your machine.
+ #
+-FORTRAN = gfortran
+-OPTS = -O2
++FORTRAN = %%F77%%
++OPTS = %%FFLAGS%% %%EXTRAFLAGS%%
+ DRVOPTS = $(OPTS)
+-NOOPT = -O0
+-LOADER = gfortran
++NOOPT = -O0 %%EXTRAFLAGS%%
++LOADER = %%F77%%
+ LOADOPTS =
+ #
+ # Timer for the SECOND and DSECND routines
+@@ -48,7 +48,7 @@
+ # machine-specific, optimized BLAS library should be used whenever
+ # possible.)
+ #
+-BLASLIB = ../../blas$(PLAT).a
++BLASLIB = %%BLAS%%
+ LAPACKLIB = lapack$(PLAT).a
+ TMGLIB = tmglib$(PLAT).a
+ EIGSRCLIB = eigsrc$(PLAT).a