git: 1dffebc49f3e - main - databases/pgpool-II-43: Fix BUILD on HEAD

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

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

commit 1dffebc49f3ea274ad34bcc9e4b498c610caa78a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-24 13:59:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-24 14:07:03 +0000

    databases/pgpool-II-43: Fix BUILD on HEAD
---
 databases/pgpool-II-43/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/databases/pgpool-II-43/Makefile b/databases/pgpool-II-43/Makefile
index 8a15955dd538..0f4a068598b2 100644
--- a/databases/pgpool-II-43/Makefile
+++ b/databases/pgpool-II-43/Makefile
@@ -36,6 +36,12 @@ PAM_CONFIGURE_ON=	--with-pam
 SSL_USES=		ssl
 SSL_CONFIGURE_WITH=	openssl
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-install:
 	@${MKDIR} ${STAGEDIR}/var/run/pgpool
 	${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.2.0.0 ${STAGEDIR}${PREFIX}/lib