Date: Thu, 20 Oct 2022 05:18:00 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: 24eb2fbf5e80 - main - math/vtk9: Limit net/py-mpi4py dependency when both PYTHON and MPI options are on Message-ID: <202210200518.29K5I0ML056816@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=24eb2fbf5e80b7ba9ea3be8cabfcf7dd54b08935 commit 24eb2fbf5e80b7ba9ea3be8cabfcf7dd54b08935 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-10-20 05:15:59 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-10-20 05:17:58 +0000 math/vtk9: Limit net/py-mpi4py dependency when both PYTHON and MPI options are on PR: 267191 Reported by: VVD <vvd@unislabs.com> --- math/vtk9/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile index 116521129e1b..2ec7af56d10f 100644 --- a/math/vtk9/Makefile +++ b/math/vtk9/Makefile @@ -1,6 +1,6 @@ PORTNAME= vtk DISTVERSION= 9.1.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= math graphics MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 @@ -19,8 +19,6 @@ LIB_DEPENDS= \ libnetcdf.so:science/netcdf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} USES= alias cmake compiler:c++11-lang gl jpeg localbase xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} @@ -112,6 +110,11 @@ USES+= gl USE_GL= gl glu .endif +.if ${PORT_OPTIONS:MPYTHON} && ${PORT_OPTIONS:MMPI} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} +.endif + CONFLICTS= vtk6 vtk8 do-install-PYTHON-on:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210200518.29K5I0ML056816>