Skip to content

Commit

Permalink
science/molscript: Fix build with llvm15
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed Jun 6, 2023
1 parent 2f606f4 commit aee41bf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion science/molscript/Makefile
Expand Up @@ -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
Expand All @@ -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>

0 comments on commit aee41bf

Please sign in to comment.