git: 0e715893775c - main - devel/rubygem-prometheus-client-mmap: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 00:53:52 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e715893775c1f594b2f52c2cad9ac56f665e6ce commit 0e715893775c1f594b2f52c2cad9ac56f665e6ce Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-30 00:28:08 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-30 00:53:04 +0000 devel/rubygem-prometheus-client-mmap: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/rubygem-prometheus-client-mmap/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/rubygem-prometheus-client-mmap/Makefile b/devel/rubygem-prometheus-client-mmap/Makefile index fce9d728e0cb..b5312f384ca4 100644 --- a/devel/rubygem-prometheus-client-mmap/Makefile +++ b/devel/rubygem-prometheus-client-mmap/Makefile @@ -13,4 +13,10 @@ RUN_DEPENDS= rubygem-rb_sys>=0.9<1:lang/rubygem-rb_sys 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>