Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 15:28:09 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: ab51dd97edfc - main - textproc/p5-Senna: Fix build with llvm16
Message-ID:  <202307191528.36JFS9xS017743@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=ab51dd97edfcd1d71d4baef6829f95c6078b894c

commit ab51dd97edfcd1d71d4baef6829f95c6078b894c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 15:26:25 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 15:27:55 +0000

    textproc/p5-Senna: Fix build with llvm16
    
    - Utilize USES=localbase while I am here
    
    Sponsored by:   The FreeBSD Foundation
---
 textproc/p5-Senna/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/textproc/p5-Senna/Makefile b/textproc/p5-Senna/Makefile
index c4ffd4ec8b37..d035c8578f95 100644
--- a/textproc/p5-Senna/Makefile
+++ b/textproc/p5-Senna/Makefile
@@ -15,9 +15,14 @@ LICENSE=	LGPL21
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	senna-cfg:textproc/senna
 
-USES=		perl5
+USES=		perl5 localbase
 USE_PERL5=	modbuild
 CONFIGURE_ARGS+=</dev/null
-CFLAGS+=	-I${LOCALBASE}/include
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
 
 .include <bsd.port.mk>



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