aboutsummaryrefslogtreecommitdiff
path: root/math/octave
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2012-11-03 13:18:14 +0000
committerMaho Nakata <maho@FreeBSD.org>2012-11-03 13:18:14 +0000
commit9cfadd256488d80b7b9e0e99fdedc851f1875e79 (patch)
tree143724d6e74e7a4e8afea6165de5b9519a424bea /math/octave
parent78d9f12bd33ad93bd805b8d3c079d0336e0de965 (diff)
downloadports-9cfadd256488d80b7b9e0e99fdedc851f1875e79.tar.gz
ports-9cfadd256488d80b7b9e0e99fdedc851f1875e79.zip
Notes
Diffstat (limited to 'math/octave')
-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