git: 6110b9cac4c7 - main - math/form: Fix build with clang16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 18:18:38 UTC
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)