forked from Lainports/freebsd-ports
Extend the expiration of unmaintained leaf ports that are broken with -fno-common and previously had a short expiration date. The new date is set to 2021-04-01, meaning the ports will be in the 2021Q2 branch, giving people until 2021-06-30 (10 months from now) to fix issues. Improve the wording of the deprecation message, mentioning both llvm 11 and -fno-common. Bump portrevision to force reinstall. This way the warning message about deprecation will be displayed to users installing or reinstalling the software. MFH: 2020Q3 (maybe)
34 lines
904 B
Makefile
34 lines
904 B
Makefile
# Created by: jmz
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xgrab
|
|
PORTVERSION= 2.41
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11
|
|
MASTER_SITES= XCONTRIB/applications
|
|
DISTNAME= ${PORTNAME}sc.2_41
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= X11 image grabber
|
|
|
|
BUILD_DEPENDS= xrdb:x11/xrdb
|
|
|
|
BROKEN_armv6= fails to install: xrdb: Socket is not connected: Can't open display ':0'
|
|
BROKEN_armv7= fails to install: xrdb: Socket is not connected: Can't open display ':0'
|
|
|
|
# Fix build with -fno-common (llvm 11)
|
|
CFLAGS+= -fcommon
|
|
|
|
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
|
|
EXPIRATION_DATE=2021-04-01
|
|
|
|
USES= display:build imake:notall tar:Z xorg
|
|
USE_XORG= x11 xaw
|
|
|
|
MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \
|
|
XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
|
|
CFLAGS+= -Wno-error=return-type
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's,\*envp,\*\*envp,g' ${WRKSRC}/xgrabxaw.c
|
|
|
|
.include <bsd.port.mk>
|