ports/math/lapack95/files/patch-make.inc
Maho Nakata a8355d128b *Bump port revision.
*Use gfortran compiled atlas/blas/lapack.
2007-01-10 01:41:21 +00:00

37 lines
1.1 KiB
PHP

--- make.inc.orig Thu Nov 30 22:18:37 2000
+++ make.inc Wed Jan 10 09:31:14 2007
@@ -3,8 +3,8 @@
# UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK
# August 5, 2000
#
-FC = f95 -free
-FC1 = f95 -fixed
+FC = %%FC%% %%FORTRAN_FIXED%%
+FC1 = %%FC%% %%FORTRAN_FREE%%
# -dcfuns Enable recognition of non-standard double
# precision complex intrinsic functions
# -dusty Allows the compilation and execution of "legacy"
@@ -13,19 +13,19 @@
# -ieee=full enables all IEEE arithmetic facilities
# including non-stop arithmetic.
-OPTS0 = -u -V -dcfuns -dusty -ieee=full
+OPTS0 = %%FFLAGS%% #-u -V -dcfuns -dusty -ieee=full
MODLIB = -I./../lapack95_modules
OPTS1 = -c $(OPTS0)
OPTS3 = $(OPTS1) $(MODLIB)
OPTL = -o
OPTLIB =
-LAPACK_PATH = /usr/local/lib/LAPACK3/
+LAPACK_PATH = -L%%LOCALBASE%%/lib
LAPACK95 = ../lapack95.a
-LAPACK77 = $(LAPACK_PATH)/lapack.a
+LAPACK77 = -llapack
TMG77 = $(LAPACK_PATH)/tmglib.a
-BLAS = $(LAPACK_PATH)/blas.a
+BLAS = -lblas
LIBS = $(LAPACK95) $(TMG77) $(LAPACK77) $(BLAS)
SUF = f90