git: 86e30284f0e6 - main - irc/tircproxy: Fix build with llvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 09 Jun 2023 22:44:53 UTC
The branch main has been updated by bofh:

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

commit 86e30284f0e6896ee28d08542c171048088e7aa5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-09 22:19:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-09 22:19:44 +0000

    irc/tircproxy: Fix build with llvm15
    
    - Pet portclippy
    - Adopt port
---
 irc/tircproxy/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/irc/tircproxy/Makefile b/irc/tircproxy/Makefile
index 98ee1239ef6f..dfe2838e4806 100644
--- a/irc/tircproxy/Makefile
+++ b/irc/tircproxy/Makefile
@@ -4,14 +4,21 @@ PORTREVISION=	4
 CATEGORIES=	irc
 MASTER_SITES=	http://bre.klaki.net/programs/tircproxy/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	IRC proxy server
 
-WRKSRC=		${WRKDIR}/tircproxy-0.4
 GNU_CONFIGURE=	YES
 
+WRKSRC=		${WRKDIR}/tircproxy-0.4
+
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/tircproxy ${STAGEDIR}${PREFIX}/sbin