Date: Thu, 20 Jul 2023 17:43:13 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: b997f300ebba - main - devel/rubygem-mmap2: Fix build with llvm16 Message-ID: <202307201743.36KHhD6Y036497@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b997f300ebba0c6ffd467394efe8afa0fa8bb02a commit b997f300ebba0c6ffd467394efe8afa0fa8bb02a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-20 13:25:30 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-20 17:42:34 +0000 devel/rubygem-mmap2: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/rubygem-mmap2/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/rubygem-mmap2/Makefile b/devel/rubygem-mmap2/Makefile index b9a895914e1f..864ed2bac381 100644 --- a/devel/rubygem-mmap2/Makefile +++ b/devel/rubygem-mmap2/Makefile @@ -12,4 +12,10 @@ LICENSE= RUBY USES= gem +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307201743.36KHhD6Y036497>