Date: Tue, 17 Nov 2020 22:21:03 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555596 - head/science/hdf Message-ID: <202011172221.0AHML3vP008844@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Tue Nov 17 22:21:03 2020 New Revision: 555596 URL: https://svnweb.freebsd.org/changeset/ports/555596 Log: Add workaround for Fortran frontend to GCC 10. While here, pet portlint. PR: 246700 Modified: head/science/hdf/Makefile Modified: head/science/hdf/Makefile ============================================================================== --- head/science/hdf/Makefile Tue Nov 17 22:19:09 2020 (r555595) +++ head/science/hdf/Makefile Tue Nov 17 22:21:03 2020 (r555596) @@ -11,11 +11,11 @@ MASTER_SITES= http://www.hdfgroup.org/ftp/HDF/releases MAINTAINER= ports@FreeBSD.org COMMENT= Hierarchical Data Format library (from NCSA) -LIB_DEPENDS= libsz.so:science/szip - NOT_FOR_ARCHS= aarch64 armv6 armv7 NOT_FOR_ARCHS_REASON= fails to compile: no machine type has been defined +LIB_DEPENDS= libsz.so:science/szip + CONFLICTS_INSTALL= netcdf-4.[0-9]* USES= fortran jpeg libtool @@ -31,6 +31,14 @@ PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES +.include <bsd.port.pre.mk> + +.if ${GCC_DEFAULT} >= 10 +# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(0)/INTEGER(4)). +# in theory, this should set FCFLAGS, but the port does not conform +FFLAGS+= -fallow-argument-mismatch +.endif + post-patch: @${REINPLACE_CMD} -e '/PROD_/ s|=.*|=""|' ${WRKSRC}/config/freebsd @${REINPLACE_CMD} -e 's/ || (__APPLE__.*//' \ @@ -42,4 +50,4 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 \ ${STAGEDIR}${MAN3PREFIX}/man/man3 -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011172221.0AHML3vP008844>