aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2012-11-03 21:18:14 +0800
committermaho <maho@FreeBSD.org>2012-11-03 21:18:14 +0800
commitafcb30b37bccb49bc6fbf8b3e6e4614761cf4b95 (patch)
tree143724d6e74e7a4e8afea6165de5b9519a424bea /math
parent75a14d7a7932040fede34340906ec74df44edbd9 (diff)
downloadfreebsd-ports-gnome-afcb30b37bccb49bc6fbf8b3e6e4614761cf4b95.tar.gz
freebsd-ports-gnome-afcb30b37bccb49bc6fbf8b3e6e4614761cf4b95.tar.zst
freebsd-ports-gnome-afcb30b37bccb49bc6fbf8b3e6e4614761cf4b95.zip
update to 3.6.3
Feature safe: yes
Diffstat (limited to 'math')
-rw-r--r--math/octave/Makefile11
-rw-r--r--math/octave/distinfo4
2 files changed, 10 insertions, 5 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 3358483b647e..837977b3d55c 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= octave
-PORTVERSION= 3.6.1
-PORTREVISION= 1
+PORTVERSION= 3.6.3
CATEGORIES= math
MASTER_SITES= ftp://ftp.gnu.org/gnu/octave/ \
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/
@@ -48,7 +47,9 @@ MAN1= octave.1 mkoctfile.1 octave-config.1
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libgoto2.so)
+.if exists(${LOCALBASE}/lib/libopenblas.so)
+WITH_BLAS?= openblas
+.elif exists(${LOCALBASE}/lib/libgoto2.so)
WITH_BLAS?= gotoblas
.elif exists(${LOCALBASE}/lib/libatlas.so)
WITH_BLAS?= atlas
@@ -61,6 +62,10 @@ LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
BLAS= -lblas
LAPACK= -llapack
+.elif ${WITH_BLAS} == openblas
+LIB_DEPENDS+= openblas:${PORTSDIR}/math/gotoblas
+BLAS= -lopenblasp
+LAPACK= -lopenblasp
.elif ${WITH_BLAS} == gotoblas
LIB_DEPENDS+= goto2:${PORTSDIR}/math/gotoblas
BLAS= -lgoto2p
diff --git a/math/octave/distinfo b/math/octave/distinfo
index 4f884e13094d..a41620a10b3b 100644
--- a/math/octave/distinfo
+++ b/math/octave/distinfo
@@ -1,2 +1,2 @@
-SHA256 (octave-3.6.1.tar.bz2) = f8073ee7570d8ff78864868027ef1e08409a78e0798d8800fac67e7e714eadf6
-SIZE (octave-3.6.1.tar.bz2) = 15387369
+SHA256 (octave-3.6.3.tar.bz2) = e37d09550f1cb406745619a5602aa3e8a97d2fe056b5c770db9984e2fc162886
+SIZE (octave-3.6.3.tar.bz2) = 15602522