Skip to content
Snippets Groups Projects
Commit 741edec0 authored by Yuri Victorovich's avatar Yuri Victorovich
Browse files

science/elmerfem: Unbreak by removing link flag -lMPI::MPI_C

This flag causes build failure.
Its origin is unclear.

Reported by:	fallout
Approved by:	portmgr (unbreak)
parent d2568da0
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,10 @@ post-patch-OCC-on:
@${REINPLACE_CMD} -e 's|$${INCLUDE}|${LOCALBASE}/include/OpenCASCADE|' \
"${WRKSRC}/cmake/Modules/FindOCE.cmake"
post-configure:
# workaround for https://github.com/ElmerCSC/elmerfem/issues/334
@${REINPLACE_CMD} -e 's| -lMPI::MPI_C | |' ${BUILD_WRKSRC}/ElmerGUI/Application/CMakeFiles/ElmerGUI.dir/link.txt
post-install:
${LN} -sf ElmerSolver_mpi ${STAGEDIR}${PREFIX}/bin/ElmerSolver
${LN} -sf libelmersolver.so ${_LIBSTAGEDIR}/libelmersolver.so.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment