aboutsummaryrefslogtreecommitdiff
path: root/math/ipopt
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2020-11-17 22:27:00 +0000
committerMark Linimon <linimon@FreeBSD.org>2020-11-17 22:27:00 +0000
commit6c50f8509a8e84b6688f483353db95c0c69da334 (patch)
tree8350fb7d551c0711aedda43d7027f5d84bde0ff7 /math/ipopt
parente08bdb75601926d20d8fbb76a766bf7ad5fa668b (diff)
Notes
Diffstat (limited to 'math/ipopt')
-rw-r--r--math/ipopt/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/math/ipopt/Makefile b/math/ipopt/Makefile
index 726f5de2e012..a4a9e88cbba5 100644
--- a/math/ipopt/Makefile
+++ b/math/ipopt/Makefile
@@ -41,6 +41,13 @@ DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
PORTDOCS= *
+.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-1)
+FFLAGS+= -fallow-argument-mismatch
+.endif
+
post-extract:
@(${ECHO} "Extracting Metis and Mumps ThirdParty libraries ..." )
@(cd ${WRKSRC}/ThirdParty/Metis && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/metis-4.0.3.tar.gz ${EXTRACT_AFTER_ARGS});