git: ebbe58b2d34b - main - databases/ruby-bdb: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 00:10:05 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ebbe58b2d34b12c299a3c80051d325a7b63c2d81 commit ebbe58b2d34b12c299a3c80051d325a7b63c2d81 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-25 23:36:21 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-26 00:09:48 +0000 databases/ruby-bdb: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- databases/ruby-bdb/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile index bfa5372b0d51..c08b74f499e7 100644 --- a/databases/ruby-bdb/Makefile +++ b/databases/ruby-bdb/Makefile @@ -44,6 +44,12 @@ PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + post-patch: @${RM} ${WRKSRC}/docs/*.orig