Bug 267191

Summary: math/vtk9: mandatory require MPI (via net/py-mpi4py) after recent commit
Product: Ports & Packages Reporter: Vladimir Druzenko <vvd>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Some People CC: d8zNeCFG
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
Version: Latest   
Hardware: Any   
OS: Any   

Description Vladimir Druzenko freebsd_committer freebsd_triage 2022-10-19 05:07:05 UTC
After https://cgit.freebsd.org/ports/commit/?id=b0c2eb73e1e022360f1cd2486e38fcd0564314cd math/vtk9 with MPI option OFF mandatory require MPI implementation via net/py-mpi4py. But before it build and work without it.
Maybe move lines:
BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR}
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR}
to PYTHON or to MPI option?
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-20 05:18:06 UTC
A commit in branch main references this bug:

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(-)
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2022-10-20 05:18:14 UTC
Fix committed.
Thanks for reporting!
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2022-10-20 19:52:19 UTC
*** Bug 267202 has been marked as a duplicate of this bug. ***