diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-09-10 19:03:36 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-09-10 19:03:36 +0000 |
commit | c43e8a0f4be2ed790fc98db293707827f659faa5 (patch) | |
tree | 78540e612c5128e9b146bb6c6c50bb49e6fe16e6 /science | |
parent | 791b9722ca6baf47a8473f3d962a4e884876af72 (diff) | |
download | ports-c43e8a0f4be2ed790fc98db293707827f659faa5.tar.gz ports-c43e8a0f4be2ed790fc98db293707827f659faa5.zip |
Diffstat (limited to 'science')
-rw-r--r-- | science/cantera/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/science/cantera/Makefile b/science/cantera/Makefile index f8891b0e3d5d..f48b4fcbadfd 100644 --- a/science/cantera/Makefile +++ b/science/cantera/Makefile @@ -2,6 +2,7 @@ PORTNAME= cantera DISTVERSIONPREFIX= v DISTVERSION= 2.5.1-552 DISTVERSIONSUFFIX= -gcf085e47e +PORTREVISION= 1 CATEGORIES= science # chemistry physics MAINTAINER= yuri@FreeBSD.org @@ -15,7 +16,7 @@ LIB_DEPENDS= libfmt.so:devel/libfmt \ libsundials_cvodes.so:math/sundials \ libyaml-cpp.so:devel/yaml-cpp -USES= compiler:c++11-lang eigen:3 python scons +USES= compiler:c++11-lang eigen:3 scons USE_LDCONFIG= yes USE_GITHUB= yes @@ -26,7 +27,7 @@ MAKE_ARGS= system_eigen='y' \ system_fmt='y' \ system_yamlcpp='y' \ googletest='system' \ - sundials_include='/usr/local/include/sundials' \ + sundials_include='${LOCALBASE}/include/sundials' \ extra_inc_dirs="${LOCALBASE}/include:${LOCALBASE}/include/eigen3" \ extra_lib_dirs="${LOCALBASE}/lib" \ debug='no' \ @@ -38,6 +39,7 @@ TEST_TARGET= test # some tests fail, see https://github.com/Cantera/cantera/issu OPTIONS_DEFINE= PYTHON +PYTHON_USES= python PYTHON_MAKE_ARGS= python_cmd="${PYTHON_CMD}" PYTHON_MAKE_ARGS_OFF= python_package="none" PYTHON_BROKEN= installs *.cpython-38.pyc files referring to the stage directory, see https://github.com/Cantera/cantera/issues/1094 |