Date: Fri, 23 Jun 2023 19:30:52 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 876c0129cd0f - main - science/cgnslib: Fix build with llvm16 Message-ID: <202306231930.35NJUqsf074787@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=876c0129cd0fe0d2e3d9e38de0abbf1dacc2bbc3 commit 876c0129cd0fe0d2e3d9e38de0abbf1dacc2bbc3 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-23 18:06:33 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-23 19:30:40 +0000 science/cgnslib: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- science/cgnslib/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile index 5979fca02a05..c166ff2541f4 100644 --- a/science/cgnslib/Makefile +++ b/science/cgnslib/Makefile @@ -52,6 +52,12 @@ TOOLS_CMAKE_BOOL= CGNS_BUILD_CGNSTOOLS TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \ -DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}" +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R} \ ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R:R}home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306231930.35NJUqsf074787>
