1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

science/molscript: Fix build with llvm15

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2023-06-06 21:52:54 +02:00
parent 2f606f4670
commit aee41bf6b8

View File

@ -36,6 +36,12 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= *
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
do-install:
.for e in ${PROGS}
${INSTALL_PROGRAM} ${WRKSRC}/../${e} ${STAGEDIR}${PREFIX}/bin
@ -44,4 +50,4 @@ do-install:
do-install-DOCS-on:
cd ${WRKSRC}/../docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
.include <bsd.port.post.mk>