summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2020-11-17 21:34:30 +0000
committerMark Linimon <linimon@FreeBSD.org>2020-11-17 21:34:30 +0000
commit3903033aaded9995e25b84538c1265267367017e (patch)
treebbbb24e505de3f801f7739d5cd3532ad0459a02c
parentmath/py-CyLP: Update 0.9.4 -> 0.91.0 (diff)
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
Notes
Notes: svn path=/head/; revision=555587
-rw-r--r--science/dlpoly-classic/Makefile8
1 files 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 <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