diff options
Diffstat (limited to 'net/mpifx/Makefile')
| -rw-r--r-- | net/mpifx/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mpifx/Makefile b/net/mpifx/Makefile index e8ab6f77c700..3052c6d24c32 100644 --- a/net/mpifx/Makefile +++ b/net/mpifx/Makefile @@ -18,6 +18,9 @@ GH_ACCOUNT= dftbplus CMAKE_ON= BUILD_SHARED_LIBS +post-patch: + ${REINPLACE_CMD} -e '/include(CTest)/d' ${WRKSRC}/CMakeLists.txt + post-test: # run test programs # at least one test crashes, see https://github.com/dftbplus/mpifx/issues/35 .for f in test_allgather test_allgatherv test_allreduce test_bcast test_comm_split test_gather test_gatherv test_reduce test_scatter test_scatterv cd ${BUILD_WRKSRC}/test && ./${f} @@ -25,7 +28,7 @@ post-test: # run test programs # at least one test crashes, see https://github.c .include <bsd.port.pre.mk> -.if ${GCC_DEFAULT} >= 10 +.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10 # workaround for Type mismatch in argument 'cc' at (1); passed COMPLEX(8) to REAL(8) FFLAGS+= -fallow-argument-mismatch .endif |
