git: a0a104080cde - main - security/libprelude: UNBREAK on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 11 Mar 2023 16:07:55 UTC
The branch main has been updated by bofh:

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

commit a0a104080cde2f85dacc47272cfe30c6d5a02927
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-11 15:31:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-11 16:07:42 +0000

    security/libprelude: UNBREAK on HEAD
---
 security/libprelude/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index da0a55c2792c..36a5611f875c 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -34,6 +34,12 @@ OPTIONS_SUB=	yes
 PERL_USES=		perl5
 PERL_CONFIGURE_WITH=	perl=${PERL}
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-install:
 .for f in client.conf global.conf idmef-client.conf tls.conf
 	${MV} ${STAGEDIR}${ETCDIR}/default/${f} \