aboutsummaryrefslogtreecommitdiff
path: root/math/lapack/files/patch-make.inc.gfortran
diff options
context:
space:
mode:
Diffstat (limited to 'math/lapack/files/patch-make.inc.gfortran')
-rw-r--r--math/lapack/files/patch-make.inc.gfortran33
1 files changed, 24 insertions, 9 deletions
diff --git a/math/lapack/files/patch-make.inc.gfortran b/math/lapack/files/patch-make.inc.gfortran
index 8bc5c2efe903..3985e1f7decd 100644
--- a/math/lapack/files/patch-make.inc.gfortran
+++ b/math/lapack/files/patch-make.inc.gfortran
@@ -1,15 +1,14 @@
---- 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 @@
+--- INSTALL/make.inc.gfortran.orig 2009-04-16 14:10:16.000000000 -0400
++++ INSTALL/make.inc.gfortran 2010-08-29 10:41:02.000000000 -0400
+@@ -8,7 +8,6 @@
#
# 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 @@
+@@ -16,12 +15,12 @@
# selected. Define LOADER and LOADOPTS to refer to the loader and
# desired load options for your machine.
#
@@ -20,17 +19,33 @@
DRVOPTS = $(OPTS)
-NOOPT = -O0
-LOADER = gfortran
+-LOADOPTS =
+NOOPT = -O0 %%EXTRAFLAGS%%
+LOADER = %%F77%%
- LOADOPTS =
++LOADOPTS = %%LDFLAGS%% %%EXTRAFLAGS%%
#
# Timer for the SECOND and DSECND routines
-@@ -48,7 +48,7 @@
+ #
+@@ -40,9 +39,8 @@
+ # The archiver and the flag(s) to use when building archive (library)
+ # If you system has no ranlib, set RANLIB = echo.
+ #
+-ARCH = ar
+ ARCHFLAGS= cr
+-RANLIB = ranlib
++RANLIB = %%RANLIB%%
+ #
+ # Location of the extended-precision BLAS (XBLAS) Fortran library
+ # used for building and testing extended-precision routines. The
+@@ -57,8 +55,8 @@
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
-BLASLIB = ../../blas$(PLAT).a
+-LAPACKLIB = lapack$(PLAT).a
+-TMGLIB = tmglib$(PLAT).a
+BLASLIB = %%BLAS%%
- LAPACKLIB = lapack$(PLAT).a
- TMGLIB = tmglib$(PLAT).a
++LAPACKLIB = liblapack$(PLAT).a
++TMGLIB = libtmglib$(PLAT).a
EIGSRCLIB = eigsrc$(PLAT).a
+ LINSRCLIB = linsrc$(PLAT).a