git: d6a84c3c8243 - main - benchmarks/siege: FIx BUILD on HEAD

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

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

commit d6a84c3c8243e90ca43cdd215aa4956fbfcfb2be
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-24 13:56:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-24 14:07:03 +0000

    benchmarks/siege: FIx BUILD on HEAD
---
 benchmarks/siege/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/benchmarks/siege/Makefile b/benchmarks/siege/Makefile
index 11621c9c6942..066b4f2d8a3a 100644
--- a/benchmarks/siege/Makefile
+++ b/benchmarks/siege/Makefile
@@ -18,6 +18,12 @@ CONFIGURE_ARGS=	--disable-shared \
 		--with-ssl=${OPENSSLBASE}
 CONFIGURE_ENV=	PERL="${PERL}"
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 pre-configure:
 	@${RM} ${WRKSRC}/acinclude.m4
 	@${RM} ${WRKSRC}/utils/missing