aboutsummaryrefslogtreecommitdiff
path: root/math/vtk9/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-10-17 09:18:39 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-10-17 09:20:21 +0000
commit6673a218d3c1eca218d04a346fc1dcb8a532619a (patch)
treefa3418b503c0953a2b09a9d23457a4b64e32c149 /math/vtk9/Makefile
parent31b7b2e62cdad5f5c6626267e06ed646a081c4d0 (diff)
downloadports-6673a218d3c1eca218d04a346fc1dcb8a532619a.tar.gz
ports-6673a218d3c1eca218d04a346fc1dcb8a532619a.zip
math/vtk9: Remove bundled pythob module mpi4py because it conflicts with standalone py-mpi4py
Requested by: thierry@
Diffstat (limited to 'math/vtk9/Makefile')
-rw-r--r--math/vtk9/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile
index 84fe19360a8b..466958c68ffd 100644
--- a/math/vtk9/Makefile
+++ b/math/vtk9/Makefile
@@ -1,6 +1,6 @@
PORTNAME= vtk
DISTVERSION= 9.1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math graphics
MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/
PKGNAMESUFFIX= 9
@@ -112,9 +112,12 @@ USE_GL= gl glu
CONFLICTS= vtk6 vtk8
-do-install-PYTHON-on: # cmake doesn't install pip's .egg-info: https://gitlab.kitware.com/vtk/vtk/-/issues/18087
+do-install-PYTHON-on:
+ # cmake doesn't install pip's .egg-info: https://gitlab.kitware.com/vtk/vtk/-/issues/18087
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info
@${INSTALL_DATA} ${WRKDIR}/PKG-INFO ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info
+ # workaround for: VTK installs mpi4py which makes it to conflict with the standalone mpi4py package, see https://gitlab.kitware.com/vtk/vtk/-/issues/18691
+ @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/mpi4py
post-install: # autoplist: thousands of files, complex dependencies on options
@cd ${STAGEDIR}${PREFIX} && \