git: 87381e8dc3a8 - main - science/py-gpaw: Fix missing MPI symbol; Add missing gpaw-setups dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jan 2022 07:37:52 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=87381e8dc3a88f05f15277e154f1c80f7d9a2f3b commit 87381e8dc3a88f05f15277e154f1c80f7d9a2f3b Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-01-04 07:36:53 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-01-04 07:37:50 +0000 science/py-gpaw: Fix missing MPI symbol; Add missing gpaw-setups dependency --- science/py-gpaw/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/science/py-gpaw/Makefile b/science/py-gpaw/Makefile index 434704bef9aa..e09977d865b7 100644 --- a/science/py-gpaw/Makefile +++ b/science/py-gpaw/Makefile @@ -1,5 +1,6 @@ PORTNAME= gpaw DISTVERSION= 21.6.0 +PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,12 +19,15 @@ LIB_DEPENDS= libblas.so:math/blas \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} \ + gpaw-setups>0:science/gpaw-setups USES= gettext-runtime localbase python:3.7+ shebangfix USE_PYTHON= distutils concurrent autoplist SHEBANG_FILES= tools/* +LDFLAGS= -lmpi # otherwise: ImportError: /usr/local/lib/python3.8/site-packages/_gpaw.cpython-38.so: Undefined symbol "MPI_Comm_rank" + post-patch: @${REINPLACE_CMD} "s|'/usr/local/|'${LOCALBASE}/|" ${WRKSRC}/gpaw/__init__.py