summaryrefslogtreecommitdiff
path: root/math/lapack95/files/patch-make.inc
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-10 01:41:21 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-10 01:41:21 +0000
commita8355d128b5a84f26be7623f8e5a4af8178c9fac (patch)
tree4c36a996d3587034ae8400c3c4efef2b5bcb87db /math/lapack95/files/patch-make.inc
parentSecurity: Fix CVE-2006-6811 (diff)
*Bump port revision.
*Use gfortran compiled atlas/blas/lapack.
Diffstat (limited to 'math/lapack95/files/patch-make.inc')
-rw-r--r--math/lapack95/files/patch-make.inc17
1 files changed, 12 insertions, 5 deletions
diff --git a/math/lapack95/files/patch-make.inc b/math/lapack95/files/patch-make.inc
index de2ed49fc35a..e97b0712696a 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 Sun Aug 29 14:46:46 2004
++++ 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
@@ -11,12 +11,12 @@
# -dcfuns Enable recognition of non-standard double
# precision complex intrinsic functions
# -dusty Allows the compilation and execution of "legacy"
-@@ -13,14 +13,14 @@
+@@ -13,19 +13,19 @@
# -ieee=full enables all IEEE arithmetic facilities
# including non-stop arithmetic.
-OPTS0 = -u -V -dcfuns -dusty -ieee=full
-+OPTS0 = %%FFOPTFLAGS%% #-u -V -dcfuns -dusty -ieee=full
++OPTS0 = %%FFLAGS%% #-u -V -dcfuns -dusty -ieee=full
MODLIB = -I./../lapack95_modules
OPTS1 = -c $(OPTS0)
OPTS3 = $(OPTS1) $(MODLIB)
@@ -24,7 +24,14 @@
OPTLIB =
-LAPACK_PATH = /usr/local/lib/LAPACK3/
-+LAPACK_PATH = %%LOCALBASE%%/lib
++LAPACK_PATH = -L%%LOCALBASE%%/lib
LAPACK95 = ../lapack95.a
- LAPACK77 = $(LAPACK_PATH)/lapack.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