Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2021 19:04:58 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c43e8a0f4be2 - main - science/cantera: Small corrections
Message-ID:  <202109101904.18AJ4wCK030842@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c43e8a0f4be2ed790fc98db293707827f659faa5

commit c43e8a0f4be2ed790fc98db293707827f659faa5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-09-10 19:03:36 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-09-10 19:03:36 +0000

    science/cantera: Small corrections
---
 science/cantera/Makefile | 6 ++++--
 1 file 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109101904.18AJ4wCK030842>