git: 1296a03eb8af - main - mail/pantomime: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 02 May 2023 16:32:39 UTC
The branch main has been updated by bofh:

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

commit 1296a03eb8af89f0d0ec49a6a7ef529eb4f49336
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-02 16:07:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-02 16:32:26 +0000

    mail/pantomime: Unbreak on HEAD
    
    - Pet portclippy
---
 mail/pantomime/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/mail/pantomime/Makefile b/mail/pantomime/Makefile
index 6d425d6438cd..953889e35531 100644
--- a/mail/pantomime/Makefile
+++ b/mail/pantomime/Makefile
@@ -15,10 +15,17 @@ USES=		gnustep iconv ssl
 
 # The use of libiconv shouldn't be necessary, but a build dependency installs
 # it and we end up picking up the header.
-MAKE_ARGS+=	LIBRARIES_DEPEND_UPON='${ICONV_LIB} -lssl'
 USE_GNUSTEP=	back build
 USE_LDCONFIG=	${GNUSTEP_LOCAL_LIBRARIES}
 
+MAKE_ARGS+=	LIBRARIES_DEPEND_UPON='${ICONV_LIB} -lssl'
+
 DEFAULT_LIBVERSION=	1.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=       -Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>