git: ed5efb16c468 - main - biology/ncbi-toolkit: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jun 2023 20:45:42 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed5efb16c468d45308d1909e75c8c5c19cfcd708 commit ed5efb16c468d45308d1909e75c8c5c19cfcd708 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-06 19:43:27 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-06 20:45:25 +0000 biology/ncbi-toolkit: Fix build with llvm15 Approved by: portmgr (blanket) --- biology/ncbi-toolkit/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/biology/ncbi-toolkit/Makefile b/biology/ncbi-toolkit/Makefile index 09d748f055e2..1b9dfa9d0f87 100644 --- a/biology/ncbi-toolkit/Makefile +++ b/biology/ncbi-toolkit/Makefile @@ -31,6 +31,12 @@ SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/make/makedis.csh @@ -77,4 +83,4 @@ do-install-DOCS-on: @(cd ${WRKSRC}/doc && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not ( -name man -o -path ./man\/* )') -.include <bsd.port.mk> +.include <bsd.port.post.mk>