Date: Tue, 4 Jul 2023 18:18:38 GMT From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6110b9cac4c7 - main - math/form: Fix build with clang16 Message-ID: <202307041818.364IIcNr098791@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=6110b9cac4c7b072058eb677007ebfe3796b7d0e commit 6110b9cac4c7b072058eb677007ebfe3796b7d0e Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2023-07-04 18:03:40 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2023-07-04 18:03:40 +0000 math/form: Fix build with clang16 Notified by: pkg-fallout --- math/form/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/form/Makefile b/math/form/Makefile index ae61e200264b..4957163b59a3 100644 --- a/math/form/Makefile +++ b/math/form/Makefile @@ -35,6 +35,12 @@ OPENMPI_CONFIGURE_ENABLE= parform OPENMPI_CONFIGURE_ENV+= MPICC="${MPICC}" \ MPICXX="${MPICXX}" +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-build-DOXYGEN-on: (cd ${WRKSRC}/doc/manual; ${MAKE_CMD} html pdf)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307041818.364IIcNr098791>