1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/lapack/files/patch-aa
Jean-Marc Zucconi 7776686cb0 Honor FC and FFLAGS so that the user can easily override them.
Enable testing and timing if ENABLE_TESTING is set to YES so that the user
can check how the changes to FC and FFLAGS work.
Patches to workaround the SIGFPE stuff and g77's code checking.
Update pkg/DESCR.
Submitted by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
1999-10-13 22:59:19 +00:00

49 lines
1.5 KiB
Plaintext

--- make.inc.orig Mon Jun 28 10:29:38 1999
+++ make.inc Wed Oct 6 11:12:08 1999
@@ -8,7 +8,7 @@
#
# The machine (platform) identifier to append to the library names
#
-PLAT = _SUN4SOL2
+#PLAT = _SUN4SOL2
#
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
@@ -16,16 +16,18 @@
# selected. Define LOADER and LOADOPTS to refer to the loader and
# desired load options for your machine.
#
-FORTRAN = f77
+FORTRAN = $(FC)
#OPTS = -O4 -u -f -mt
+#OPTS = -O4 -u -f -mt
+#OPTS = -u -f -dalign -native -xO5 -xarch=v8plusa
#OPTS = -u -f -dalign -native -xO5 -xarch=v8plusa
-OPTS = -u -f -dalign -native -xO5 -xarch=v8plusa
+OPTS = $(FFLAGS)
DRVOPTS = $(OPTS)
-NOOPT = -u -f
+#NOOPT = -u -f
#NOOPT = -u -f -mt
-LOADER = f77
+LOADER = $(FC)
#LOADOPTS = -mt
-LOADOPTS = -f -dalign -native -xO5 -xarch=v8plusa
+#LOADOPTS = -f -dalign -native -xO5 -xarch=v8plusa
#
# The archiver and the flag(s) to use when building archive (library)
# If you system has no ranlib, set RANLIB = echo.
@@ -40,8 +42,9 @@
#
#BLASLIB = ../../blas$(PLAT).a
#BLASLIB = -xlic_lib=sunperf_mt
-BLASLIB = -xlic_lib=sunperf
-LAPACKLIB = lapack$(PLAT).a
-TMGLIB = tmglib$(PLAT).a
+BLASLIB =../../BLAS/SRC/libblas.a
+LAPACKLIB = SRC/liblapack.a
+TMGLIB = TESTING/MATGEN/libtmg.a
EIGSRCLIB = eigsrc$(PLAT).a
LINSRCLIB = linsrc$(PLAT).a
+FPMCLR = ../../fpmclr_.o