Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 00:10:02 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: e48d5a4dfb8c - main - devel/p5-Compiler-Lexer: Fix build with llvm16
Message-ID:  <202306260010.35Q0A2pU092644@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=e48d5a4dfb8cf0d9a4dc081d02dab1854eb125f3

commit e48d5a4dfb8cf0d9a4dc081d02dab1854eb125f3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 23:07:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 00:09:45 +0000

    devel/p5-Compiler-Lexer: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/p5-Compiler-Lexer/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/p5-Compiler-Lexer/Makefile b/devel/p5-Compiler-Lexer/Makefile
index 59894d75b2c7..433d61c57629 100644
--- a/devel/p5-Compiler-Lexer/Makefile
+++ b/devel/p5-Compiler-Lexer/Makefile
@@ -16,6 +16,12 @@ BUILD_DEPENDS=	p5-Module-Build-XSUtil>0:devel/p5-Module-Build-XSUtil
 USES=		perl5
 USE_PERL5=	modbuild
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=  -Dregister=
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compiler/Lexer/Lexer.so
 



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