summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2017-02-13 15:17:51 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2017-02-13 15:17:51 +0000
commit2d6cb9850f390a72fa75acd7ac37df1cb5dd5823 (patch)
tree6c4d2380907cee4abc88e67f1b6364254a61ee0e
parentSet buildtools, linguisttools as BUILD_DEPENDS. (diff)
- Link to libopenblasp (threaded version) for better performace
- Point to correct depend: math/arpack-ng - Bump PORTREVISION PR: 217056 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw>
-rw-r--r--lang/julia/Makefile7
-rw-r--r--lang/julia/files/patch-Make.user4
2 files changed, 6 insertions, 5 deletions
diff --git a/lang/julia/Makefile b/lang/julia/Makefile
index 14dc83d3cdd8..d2696ad5b874 100644
--- a/lang/julia/Makefile
+++ b/lang/julia/Makefile
@@ -4,7 +4,7 @@
PORTNAME= julia
PORTVERSION= 0.5.0
DISTVERSIONSUFFIX= -full
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang math
MASTER_SITES= https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/
@@ -16,11 +16,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libunwind.so:devel/libunwind \
libutf8proc.so:textproc/utf8proc \
- libopenblas.so:math/openblas \
+ libopenblasp.so:math/openblas \
libgit2.so:devel/libgit2 \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
- libpcre2-8.so:devel/pcre2
+ libpcre2-8.so:devel/pcre2 \
+ libarpack.so:math/arpack-ng
BUILD_DEPENDS= llvm-config38:devel/llvm38 \
pcre2-config:devel/pcre2 \
patchelf:sysutils/patchelf
diff --git a/lang/julia/files/patch-Make.user b/lang/julia/files/patch-Make.user
index 7edb8a1df31e..c6c9c0f78f64 100644
--- a/lang/julia/files/patch-Make.user
+++ b/lang/julia/files/patch-Make.user
@@ -21,8 +21,8 @@
+USE_SYSTEM_FFTW= 1
+USE_SYSTEM_SUITESPARSE= 1
+
-+LIBBLAS= -lopenblas -L$(LOCALBASE)/lib
-+LIBBLASNAME= libopenblas
++LIBBLAS= -lopenblasp -L$(LOCALBASE)/lib
++LIBBLASNAME= libopenblasp
+
+LIBLAPACK= $(LIBBLAS)
+LIBLAPACKNAME= $(LIBBLASNAME)