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
This commit is contained in:
Mark Linimon 2020-11-17 21:34:30 +00:00
parent c7781899b9
commit 3903033aad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555587

View file

@ -36,6 +36,12 @@ GUI_USE= JAVA=yes
GUI_PLIST_FILES= bin/dlpoly-gui \
${DATADIR_REL}/GUI.jar
.include <bsd.port.options.mk>
.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 <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/execute/dlpoly-classic ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/execute/dlpoly-classic-mpi ${STAGEDIR}${PREFIX}/bin