Skip to content

Commit

Permalink
devel/p5-Compiler-Lexer: Fix build with llvm16
Browse files Browse the repository at this point in the history
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 26, 2023
1 parent 9af7892 commit e48d5a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devel/p5-Compiler-Lexer/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit e48d5a4

Please sign in to comment.