- 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
This commit is contained in:
Alexey Dokuchaev 2020-09-01 12:50:15 +00:00
parent a0b60b9df2
commit 40c6181874
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547270

View File

@ -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>