git: 67cb88ab2335 - main - mail/mailx: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 May 2023 19:59:25 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=67cb88ab233545ac24911503f2d7836dc29107c0
commit 67cb88ab233545ac24911503f2d7836dc29107c0
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-14 19:53:25 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-14 19:59:10 +0000
mail/mailx: Unbreak on HEAD
- Pet portclippy
---
mail/mailx/Makefile | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/mail/mailx/Makefile b/mail/mailx/Makefile
index 77f1905f39dc..91c82038c594 100644
--- a/mail/mailx/Makefile
+++ b/mail/mailx/Makefile
@@ -4,6 +4,7 @@ PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= PORTS_JP
DISTFILES= mail-2.2.8.tar.gz mailx-memo-2.2.8R
+EXTRACT_ONLY= mail-2.2.8.tar.gz
PATCH_SITES= PORTS_JP
PATCHFILES= mailx.v05.patch.gz
@@ -14,12 +15,18 @@ COMMENT= Mail command with mailx extensions
LICENSE= BSD4CLAUSE
+USES= perl5
+USE_PERL5= run build patch
+
CONFLICTS= heirloom-mailx
-EXTRACT_ONLY= mail-2.2.8.tar.gz
WRKSRC= ${WRKDIR}/mail-2.2.8
-USES= perl5
-USE_PERL5= run build patch
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=int-conversion
+.endif
post-patch:
${PERL5} -pi.bak -e 's/^(\.Nm mail)/$$1x/i; s/^(\.Dt MAIL)/$$1X/' \
@@ -33,4 +40,4 @@ do-install:
${INSTALL_DATA} ${DISTDIR}/mailx-memo-2.2.8R \
${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>