git: ab3f6b12dbf2 - main - science/elmerfem: Fix bug that build selected arbitrary Python versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Jul 2022 17:23:48 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab3f6b12dbf2df281f6ec5f724e1fe03c803f16f commit ab3f6b12dbf2df281f6ec5f724e1fe03c803f16f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-21 17:20:30 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-21 17:20:30 +0000 science/elmerfem: Fix bug that build selected arbitrary Python versions When built from port it selected a higher Python version when it was available producing broken binaries. Approved by: portmgr (bugfix) --- science/elmerfem/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/science/elmerfem/Makefile b/science/elmerfem/Makefile index 246db5a1d858..69c198240fb5 100644 --- a/science/elmerfem/Makefile +++ b/science/elmerfem/Makefile @@ -63,7 +63,8 @@ OCC_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libvtksys-9.1.so:math/vtk9 OCC_USES= python OCC_CMAKE_BOOL= WITH_OCC -OCC_CMAKE_ON= -DVTK_DIR=${LOCALBASE}/lib/cmake/vtk-9.0 +OCC_CMAKE_ON= -DVTK_DIR=${LOCALBASE}/lib/cmake/vtk-9.0 \ + -DPython3_EXECUTABLE=${PYTHON_CMD} _LIBSTAGEDIR= ${STAGEDIR}/${PREFIX}/lib/elmersolver _PYVERSION= ${PYTHON_VER}${PYTHON_ABIVER}