Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 00:10:05 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: ebbe58b2d34b - main - databases/ruby-bdb: Fix build with llvm16
Message-ID:  <202306260010.35Q0A542093413@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=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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306260010.35Q0A542093413>