Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 23:52:38 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: 33daf2740a81 - main - textproc/rubygem-ruby-xslt: Fix build with llvm16
Message-ID:  <202308062352.376Nqcs0075449@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33daf2740a81554ab40a1519a3f195fe86778e74

commit 33daf2740a81554ab40a1519a3f195fe86778e74
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 23:12:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 23:52:27 +0000

    textproc/rubygem-ruby-xslt: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 textproc/rubygem-ruby-xslt/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/textproc/rubygem-ruby-xslt/Makefile b/textproc/rubygem-ruby-xslt/Makefile
index 8a91c01741be..e8519cd375f4 100644
--- a/textproc/rubygem-ruby-xslt/Makefile
+++ b/textproc/rubygem-ruby-xslt/Makefile
@@ -14,4 +14,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USE_GNOME=	libxslt
 USES=		gem gnome
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CONFIGURE_ARGS+=	--with-cflags="-Wno-error=incompatible-function-pointer-types"
+.endif
+
 .include <bsd.port.mk>


home | help

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