From 40c6181874b155b3742eb9992cfdf93daef05fff Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Tue, 1 Sep 2020 12:50:15 +0000 Subject: [PATCH] - Unbreak the build with -fno-common (for Clang 11 and GCC 10) - Add missing components to USE_XORG list, define LICENSE (MIT) Reported by: pkg-fallout --- mail/xmail/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mail/xmail/Makefile b/mail/xmail/Makefile index bb2b0d5a7ad7..5f869b9f2193 100644 --- a/mail/xmail/Makefile +++ b/mail/xmail/Makefile @@ -11,7 +11,14 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= sjroz@verizon.net COMMENT= X-based interface to the Berkeley mail program +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + USES= imake xorg -USE_XORG= xbitmaps xaw +USE_XORG= ice sm x11 xaw xbitmaps xext xmu xpm xt + +post-patch: +# Fix the build with -fno-common (for Clang 11 and GCC 10) + @${REINPLACE_CMD} -e '/In_Bogus_Mail_File;/d' ${WRKSRC}/xmail.c .include