aboutsummaryrefslogtreecommitdiff
path: root/math/dune-common
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2021-02-19 15:14:46 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2021-02-19 15:14:46 +0000
commit34fdd4dc58e2ebd98803c88ff8e684892954817c (patch)
tree204912d10c077dd7fe9cf6351801dbe1835e7b11 /math/dune-common
parent8ec37e4f4203b2cdd0b58fb5c6b251153f72abb4 (diff)
Notes
Diffstat (limited to 'math/dune-common')
-rw-r--r--math/dune-common/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/dune-common/Makefile b/math/dune-common/Makefile
index d198f2dc8bbe..b5f424720b14 100644
--- a/math/dune-common/Makefile
+++ b/math/dune-common/Makefile
@@ -3,6 +3,7 @@
PORTNAME= dune-common
DISTVERSIONPREFIX= v
DISTVERSION= 2.7.1
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@@ -14,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= openmpi>0:net/openmpi \
vc>0:devel/vc
LIB_DEPENDS= libopenblas.so:math/openblas \
- libtbb.so:devel/tbb
+ libtbb.so:devel/onetbb
USES= cmake compiler:c++17-lang fortran pkgconfig python shebangfix
SHEBANG_FILES= bin/dune-ctest cmake/scripts/extract_cmake_data.py
@@ -26,6 +27,7 @@ GL_ACCOUNT= core
GL_COMMIT= aa689abba532f40db8f5663fa379ea77211c1953
CMAKE_ON= BUILD_SHARED_LIBS
+CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so
OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_SUB= yes