Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2023 07:25:24 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: 7be12eb0e21c - main - biology/abyss: Fix build with llvm15
Message-ID:  <202306070725.3577POVj085047@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=7be12eb0e21cff50ef862997d6420baf408ffa28

commit 7be12eb0e21cff50ef862997d6420baf408ffa28
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-07 07:20:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-07 07:25:09 +0000

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

diff --git a/biology/abyss/Makefile b/biology/abyss/Makefile
index 8436eab2b31d..d023c7d5b8b6 100644
--- a/biology/abyss/Makefile
+++ b/biology/abyss/Makefile
@@ -42,4 +42,10 @@ PORTDOCS=	*
 
 PORTSCOUT=	limit:^[0-9\.]*$$ # to ignore alpha-numeric tags
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=unused-but-set-variable
+.endif
+
+.include <bsd.port.post.mk>



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