diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2021-01-13 23:03:31 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2021-01-13 23:03:31 +0000 |
commit | f86c964117b6a3ebf2cbf7bb69821dfb8a74f1c2 (patch) | |
tree | dee6818341bc298df429631dc617ddfaf949f1e5 /math/octave-forge-optiminterp | |
parent | 671839de5f6867f1f9e48aa527390d7495cbb750 (diff) |
Notes
Diffstat (limited to 'math/octave-forge-optiminterp')
-rw-r--r-- | math/octave-forge-optiminterp/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/math/octave-forge-optiminterp/Makefile b/math/octave-forge-optiminterp/Makefile index c8d7e23abdac..b99e212edbc2 100644 --- a/math/octave-forge-optiminterp/Makefile +++ b/math/octave-forge-optiminterp/Makefile @@ -24,8 +24,16 @@ GNU_CONFIGURE= yes MAKE_ENV+= MKOCTFILE_FORTRAN_90=yes MKOCTFILE=mkoctfile +.include <bsd.port.pre.mk> + +.if ${GCC_DEFAULT} >= 10 +# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-2) +# in theory, this should set FCFLAGS, but the port does not conform +FFLAGS+= -fallow-argument-mismatch +.endif + post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |