Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 12:50:16 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547270 - head/mail/xmail
Message-ID:  <202009011250.081CoGHd001872@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009011250.081CoGHd001872>