svn commit: r555587 - head/science/dlpoly-classic
Mark Linimon
linimon at FreeBSD.org
Tue Nov 17 21:34:31 UTC 2020
Author: linimon
Date: Tue Nov 17 21:34:30 2020
New Revision: 555587
URL: https://svnweb.freebsd.org/changeset/ports/555587
Log:
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
Modified:
head/science/dlpoly-classic/Makefile
Modified: head/science/dlpoly-classic/Makefile
==============================================================================
--- head/science/dlpoly-classic/Makefile Tue Nov 17 20:59:25 2020 (r555586)
+++ head/science/dlpoly-classic/Makefile Tue Nov 17 21:34:30 2020 (r555587)
@@ -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
@@ -53,8 +59,6 @@ do-build:
${MAKE} clean && \
${CP} -f MakePAR Makefile && \
${MAKE} gfortran)
-
-.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/execute/dlpoly-classic ${STAGEDIR}${PREFIX}/bin
More information about the svn-ports-all
mailing list