Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2023 20:45:45 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: aee41bf6b83b - main - science/molscript: Fix build with llvm15
Message-ID:  <202306062045.356Kjjku026102@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aee41bf6b83bfd73152e2ceacc33cd5dae919ce2

commit aee41bf6b83bfd73152e2ceacc33cd5dae919ce2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-06 19:52:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-06 20:45:25 +0000

    science/molscript: Fix build with llvm15
    
    Approved by:    portmgr (blanket)
---
 science/molscript/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/science/molscript/Makefile b/science/molscript/Makefile
index 89b93d83db32..c3762268b2b2 100644
--- a/science/molscript/Makefile
+++ b/science/molscript/Makefile
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306062045.356Kjjku026102>