summaryrefslogtreecommitdiff
path: root/math/lapack95/files/patch-make.inc
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-09-04 08:49:43 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-09-04 08:49:43 +0000
commit72f05065f1be41a2ac7091fb288c1cac80fac64a (patch)
tree9e8ecb7723162d01308831351f1debb0db7f8e2c /math/lapack95/files/patch-make.inc
parent- Fix plist (diff)
* Installation of mod files.
* make.inc in example dir has been changed for slightly better one. Spotted by: Anton Shterenlikht <mexas@bristol.ac.uk>
Notes
Notes: svn path=/head/; revision=198728
Diffstat (limited to 'math/lapack95/files/patch-make.inc')
-rw-r--r--math/lapack95/files/patch-make.inc21
1 files changed, 13 insertions, 8 deletions
diff --git a/math/lapack95/files/patch-make.inc b/math/lapack95/files/patch-make.inc
index e97b0712696a..7fcdc32169b9 100644
--- a/math/lapack95/files/patch-make.inc
+++ b/math/lapack95/files/patch-make.inc
@@ -1,5 +1,5 @@
--- make.inc.orig Thu Nov 30 22:18:37 2000
-+++ make.inc Wed Jan 10 09:31:14 2007
++++ make.inc Tue Sep 4 17:20:52 2007
@@ -3,8 +3,8 @@
# UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK
# August 5, 2000
@@ -11,27 +11,32 @@
# -dcfuns Enable recognition of non-standard double
# precision complex intrinsic functions
# -dusty Allows the compilation and execution of "legacy"
-@@ -13,19 +13,19 @@
+@@ -13,21 +13,21 @@
# -ieee=full enables all IEEE arithmetic facilities
# including non-stop arithmetic.
-OPTS0 = -u -V -dcfuns -dusty -ieee=full
+-MODLIB = -I./../lapack95_modules
+OPTS0 = %%FFLAGS%% #-u -V -dcfuns -dusty -ieee=full
- MODLIB = -I./../lapack95_modules
++MODLIB = -I./../lapack95_modules -I%%PREFIX%%/lib/lapack95_modules
OPTS1 = -c $(OPTS0)
OPTS3 = $(OPTS1) $(MODLIB)
OPTL = -o
OPTLIB =
-LAPACK_PATH = /usr/local/lib/LAPACK3/
-+LAPACK_PATH = -L%%LOCALBASE%%/lib
++LAPACK_PATH = -L%%LOCALBASE%%/lib -L%%PREFIX%%/lib
- LAPACK95 = ../lapack95.a
+-LAPACK95 = ../lapack95.a
-LAPACK77 = $(LAPACK_PATH)/lapack.a
-+LAPACK77 = -llapack
++LAPACK95 = -llapack95
++LAPACK77 = %%LAPACK%%
TMG77 = $(LAPACK_PATH)/tmglib.a
-BLAS = $(LAPACK_PATH)/blas.a
-+BLAS = -lblas
++BLAS = %%BLAS%%
- LIBS = $(LAPACK95) $(TMG77) $(LAPACK77) $(BLAS)
+-LIBS = $(LAPACK95) $(TMG77) $(LAPACK77) $(BLAS)
++LIBS = $(LAPACK_PATH) $(LAPACK95) $(LAPACK77) $(BLAS)
SUF = f90
+
+ XX = 'rm' -f $@; \