git: 279054c5d3d6 - main - net/libproxy-perl: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 14 May 2023 19:59:26 UTC
The branch main has been updated by bofh:

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

commit 279054c5d3d6c8451bfb1d3243c65132f81782c3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-14 19:56:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-14 19:59:10 +0000

    net/libproxy-perl: Unbreak on HEAD
    
    Approved by:    portmgr (blanket)
---
 net/libproxy/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net/libproxy/Makefile b/net/libproxy/Makefile
index 5bc17cba78c1..8ca3a19384b2 100644
--- a/net/libproxy/Makefile
+++ b/net/libproxy/Makefile
@@ -55,6 +55,12 @@ RUN_DEPENDS+=	libproxy-pacrunner>=${DISTVERSION}:net/libproxy-pacrunner
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${LIBPROXY_SLAVE:Mperl}
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+.endif
+
 # Hackery for the to python backends.
 .if ${LIBPROXY_SLAVE:Mpython}
 CMAKE_ON+=		WITH_PYTHON3