git: 7839f3d86657 - main - devel/tla: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 12:04:03 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7839f3d86657b8322e5f60b2971c87756002881d commit 7839f3d86657b8322e5f60b2971c87756002881d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 11:24:35 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 12:03:42 +0000 devel/tla: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- devel/tla/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/devel/tla/Makefile b/devel/tla/Makefile index bc3bcb5158b7..1810d12b7a17 100644 --- a/devel/tla/Makefile +++ b/devel/tla/Makefile @@ -37,12 +37,16 @@ OPTIONS_DEFINE= DOCS ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Wno-error=int-conversion .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + pre-install: ${RM} -r ${ORIGWRKSRC}/docs-tla/PLUGIN \ ${ORIGWRKSRC}/docs-tla/{arch} ${ORIGWRKSRC}/docs-tla/.arch-ids @@ -52,8 +56,10 @@ do-install: ${SED} 's,^#!.*$$,#!${AWK} -f,' ${ORIGWRKSRC}/tla/=gpg-check.awk \ > ${WRKDIR}/tla-gpg-check ${INSTALL_SCRIPT} ${WRKDIR}/tla-gpg-check ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -name '*.html' | \ ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk>