diff options
Diffstat (limited to 'math/lapack95')
-rw-r--r-- | math/lapack95/Makefile | 4 | ||||
-rw-r--r-- | math/lapack95/files/patch-make.inc | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/math/lapack95/Makefile b/math/lapack95/Makefile index c2f2e5d0da33..9c03e08b028f 100644 --- a/math/lapack95/Makefile +++ b/math/lapack95/Makefile @@ -32,8 +32,8 @@ LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas BLAS= -lf77blas -latlas LAPACK= -lalapack -lcblas .else -LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas -LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack +LIB_DEPENDS+= blas:${PORTSDIR}/math/blas +LIB_DEPENDS+= lapack:${PORTSDIR}/math/lapack BLAS= -lblas LAPACK= -llapack .endif diff --git a/math/lapack95/files/patch-make.inc b/math/lapack95/files/patch-make.inc index ba4cb1ae64ac..0706ddaaf20b 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 Thu Sep 6 11:57:35 2007 +--- make.inc 2000-11-30 22:18:37.000000000 +0900 ++++ make.inc 2007-09-29 14:02:41.000000000 +0900 @@ -3,8 +3,8 @@ # UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK # August 5, 2000 @@ -29,14 +29,15 @@ -LAPACK95 = ../lapack95.a -LAPACK77 = $(LAPACK_PATH)/lapack.a +-TMG77 = $(LAPACK_PATH)/tmglib.a +-BLAS = $(LAPACK_PATH)/blas.a +LAPACK95 = -llapack95 +LAPACK77 = %%LAPACK%% - TMG77 = $(LAPACK_PATH)/tmglib.a --BLAS = $(LAPACK_PATH)/blas.a ++TMG77 = -ltmglib +BLAS = %%BLAS%% -LIBS = $(LAPACK95) $(TMG77) $(LAPACK77) $(BLAS) -+LIBS = $(LAPACK_PATH) $(LAPACK95) $(LAPACK77) $(BLAS) ++LIBS = $(LAPACK_PATH) $(LAPACK95) $(LAPACK77) $(TMG77) $(BLAS) SUF = f90 XX = 'rm' -f $@; \ |