git: ca332d577a93 - main - archivers/rubygem-bzip2-ruby: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Jul 2023 06:11:33 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca332d577a93486753d105971aa8358cda18c131 commit ca332d577a93486753d105971aa8358cda18c131 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-22 05:28:40 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-22 06:11:20 +0000 archivers/rubygem-bzip2-ruby: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- archivers/rubygem-bzip2-ruby/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/archivers/rubygem-bzip2-ruby/Makefile b/archivers/rubygem-bzip2-ruby/Makefile index c3aa628f6391..60bd57a14ca0 100644 --- a/archivers/rubygem-bzip2-ruby/Makefile +++ b/archivers/rubygem-bzip2-ruby/Makefile @@ -13,4 +13,10 @@ LICENSE_COMB= dual 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>