freebsd-ports/math/lapack/files/patch-make.inc.gfortran
Maho Nakata 01f7ecb3ea 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
2007-09-29 12:53:56 +00:00

36 lines
1 KiB
Text

--- 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