git: bbc32cc1f8ee - main - security/identify: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 13 May 2023 14:24:52 UTC
The branch main has been updated by bofh:

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

commit bbc32cc1f8ee1b148b4f7279679f2e3a11b28cb1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 22:49:38 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-13 14:24:16 +0000

    security/identify: Unbreak on HEAD
    
    - Adopt port
---
 security/identify/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/security/identify/Makefile b/security/identify/Makefile
index dbb44388b659..f1bc75162bde 100644
--- a/security/identify/Makefile
+++ b/security/identify/Makefile
@@ -4,7 +4,7 @@ CATEGORIES=	security
 MASTER_SITES=	http://ftp.nluug.nl/ftp/pub/pub/security/coast/daemons/pidentd/tools/ \
 		http://www.scn.rain.com/pub/security/authent/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Client side ident protocol daemon wrapper
 
 LICENSE=	PD
@@ -16,6 +16,12 @@ PLIST_FILES=	libexec/identify
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/identify ${STAGEDIR}${PREFIX}/libexec
 
@@ -23,4 +29,4 @@ do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>