svn commit: r547270 - head/mail/xmail

Alexey Dokuchaev danfe at FreeBSD.org
Tue Sep 1 12:50:16 UTC 2020


Author: danfe
Date: Tue Sep  1 12:50:15 2020
New Revision: 547270
URL: https://svnweb.freebsd.org/changeset/ports/547270

Log:
  - 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

Modified:
  head/mail/xmail/Makefile

Modified: head/mail/xmail/Makefile
==============================================================================
--- head/mail/xmail/Makefile	Tue Sep  1 12:25:13 2020	(r547269)
+++ head/mail/xmail/Makefile	Tue Sep  1 12:50:15 2020	(r547270)
@@ -11,7 +11,14 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}
 MAINTAINER=	sjroz at 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 <bsd.port.mk>


More information about the svn-ports-all mailing list