aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-09-29 13:18:59 +0800
committermaho <maho@FreeBSD.org>2007-09-29 13:18:59 +0800
commitaba2bfb9ddac0f3a796e1be4e8cb7c68bbb7b61a (patch)
tree5bab3257fa64e553ba53a2e44ede2fefb51fa0c2 /math
parent845320ded47b7b532bdcfc281b7e8c794eca3c1d (diff)
downloadfreebsd-ports-gnome-aba2bfb9ddac0f3a796e1be4e8cb7c68bbb7b61a.tar.gz
freebsd-ports-gnome-aba2bfb9ddac0f3a796e1be4e8cb7c68bbb7b61a.tar.zst
freebsd-ports-gnome-aba2bfb9ddac0f3a796e1be4e8cb7c68bbb7b61a.zip
Now examples are buildable with upcoming new Lapack port
update.
Diffstat (limited to 'math')
-rw-r--r--math/lapack95/Makefile4
-rw-r--r--math/lapack95/files/patch-make.inc11
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 $@; \