From 3903033aaded9995e25b84538c1265267367017e Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Tue, 17 Nov 2020 21:34:30 +0000 Subject: [PATCH] Mark as BROKEN with GCC 10: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)). The maintainer notes that this program is obsolete, and that most people now use versions 3 or 4 (which are, unfortunately, non- redistributable). As well, it is already marked DEPRECATED/EXPIRING. Approved by: maintainer --- science/dlpoly-classic/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/science/dlpoly-classic/Makefile b/science/dlpoly-classic/Makefile index 350e33f3ef79..3f54352a4a84 100644 --- a/science/dlpoly-classic/Makefile +++ b/science/dlpoly-classic/Makefile @@ -36,6 +36,12 @@ GUI_USE= JAVA=yes GUI_PLIST_FILES= bin/dlpoly-gui \ ${DATADIR_REL}/GUI.jar +.include + +.if ${GCC_DEFAULT} >= 10 +BROKEN= fails to build with GCC 10: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)). +.endif + post-patch: ${CP} ${WRKSRC}/build/MakePAR ${WRKSRC}/build/MakeSEQ ${BUILD_WRKSRC} ${REINPLACE_CMD} 's|gfortran|${FC}|g' ${BUILD_WRKSRC}/MakeSEQ @@ -54,8 +60,6 @@ do-build: ${CP} -f MakePAR Makefile && \ ${MAKE} gfortran) -.include - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/execute/dlpoly-classic ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/execute/dlpoly-classic-mpi ${STAGEDIR}${PREFIX}/bin