diff --git a/math/py-petsc4py/Makefile b/math/py-petsc4py/Makefile index ff0589f1c166..02e3d809d75e 100644 --- a/math/py-petsc4py/Makefile +++ b/math/py-petsc4py/Makefile @@ -1,39 +1,39 @@ PORTNAME= petsc4py DISTVERSION= 3.22.4 PORTREVISION= 3 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= PETSc for Python WWW= https://gitlab.com/petsc/petsc LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst BROKEN_armv7= compilation fails: LLVM ERROR: out of memory BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} LIB_DEPENDS= libpetsc.so:science/PETSc RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} USES= python USE_PYTHON= autoplist cython distutils pytest # tests fail to run, see https://gitlab.com/petsc/petsc/-/issues/1301 MAKE_ENV= PETSC_DIR=${LOCALBASE} OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= MPICH OPENMPI OPTIONS_DEFAULT= MPICH MPICH_USES= mpi:mpich OPENMPI_USES= mpi:openmpi TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/petsc4py/lib/PETSc${PYTHON_TAG}.so + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/petsc4py/lib/PETSc${PYTHON_SOABI}.so .include diff --git a/math/py-petsc4py/files/patch-conf_confpetsc.py b/math/py-petsc4py/files/patch-conf_confpetsc.py new file mode 100644 index 000000000000..b99139929eca --- /dev/null +++ b/math/py-petsc4py/files/patch-conf_confpetsc.py @@ -0,0 +1,10 @@ +--- conf/confpetsc.py.orig 2026-04-12 03:48:08 UTC ++++ conf/confpetsc.py +@@ -694,7 +694,6 @@ class build_ext(_build_ext): + (config_file, config_data), + msg='writing %s' % config_file, + verbose=self.verbose, +- dry_run=self.dry_run, + ) + + def get_config_data(self, arch_list):