Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2023 17:48:40 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: ca88d76e3423 - main - security/palisade: Fix build with llvm15
Message-ID:  <202306061748.356Hme2B029826@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=ca88d76e3423aa77ee9b10e093d2fc1efe472e67

commit ca88d76e3423aa77ee9b10e093d2fc1efe472e67
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-06 16:50:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-06 17:47:38 +0000

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

diff --git a/security/palisade/Makefile b/security/palisade/Makefile
index 80b7ad07804a..bf72e4726979 100644
--- a/security/palisade/Makefile
+++ b/security/palisade/Makefile
@@ -48,4 +48,10 @@ OPENMP_CMAKE_BOOL=	WITH_OPENMP
 HEXL_CMAKE_BOOL=	WITH_HEXL
 HEXL_LIB_DEPENDS=	libhexl.so:security/hexl
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CXXFLAGS+=	-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?202306061748.356Hme2B029826>