aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2019-04-28 16:42:56 +0800
committeryuri <yuri@FreeBSD.org>2019-04-28 16:42:56 +0800
commit3456607c7a4e574c04c72730cefdfa56b14fbcb1 (patch)
tree868b7b855f8d10ffe1d7d869db4f552c46403a47 /math
parenta769992a0e595870fadfe309c932c3ca8118625c (diff)
downloadfreebsd-ports-gnome-3456607c7a4e574c04c72730cefdfa56b14fbcb1.tar.gz
freebsd-ports-gnome-3456607c7a4e574c04c72730cefdfa56b14fbcb1.tar.zst
freebsd-ports-gnome-3456607c7a4e574c04c72730cefdfa56b14fbcb1.zip
math/ambit: Update 0.2-37 -> 0.3
Reported by: portscout
Diffstat (limited to 'math')
-rw-r--r--math/ambit/Makefile9
-rw-r--r--math/ambit/distinfo6
2 files changed, 7 insertions, 8 deletions
diff --git a/math/ambit/Makefile b/math/ambit/Makefile
index 82bdb05f9343..c57b6eeadbee 100644
--- a/math/ambit/Makefile
+++ b/math/ambit/Makefile
@@ -2,9 +2,7 @@
PORTNAME= ambit
DISTVERSIONPREFIX= v
-DISTVERSION= 0.2-37
-DISTVERSIONSUFFIX= -g9c7049a
-PORTREVISION= 6
+DISTVERSION= 0.3
CATEGORIES= math
PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit
@@ -15,16 +13,17 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhdf5.so:science/hdf5 \
+ libomp.so:devel/openmp \
+ libopenblas.so:math/openblas \
libsz.so:science/szip
USES= cmake compiler:c++11-lang
-USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= jturney
# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch
CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON
-CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON # bug#223678: find_package(OpenMP) doesn't find the openmp package
+CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON
CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24
.include <bsd.port.mk>
diff --git a/math/ambit/distinfo b/math/ambit/distinfo
index b8436853ca8a..bf9b2912cbde 100644
--- a/math/ambit/distinfo
+++ b/math/ambit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1510519038
-SHA256 (jturney-ambit-v0.2-37-g9c7049a_GH0.tar.gz) = a7c56697f538c4c6ea7ceebfbd50f6f372eff04e38f171ccb63457c7f31fa23b
-SIZE (jturney-ambit-v0.2-37-g9c7049a_GH0.tar.gz) = 328416
+TIMESTAMP = 1556435749
+SHA256 (jturney-ambit-v0.3_GH0.tar.gz) = 6dbaa3ce6e21472e6f2294016cd97369f939a19581a890b22a9e77c18fbf1728
+SIZE (jturney-ambit-v0.3_GH0.tar.gz) = 335953