1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

print/cups-base: add CFLAGS+=-fno-blocks to print/cups-image at gcc systems

In additiond to print/cups-client (r350154):
Use CFLAGS+=-fno-blocks to unbreak systems with default gcc compiler.
This is a band-aid that should be reworked for systems with blocks
and libdispatch support.

Reported by:	Anton Shterenlikht <mexas@bris.ac.uk>
Tested by:	Anton Shterenlikht <mexas@bris.ac.uk>
Discussed at:	freebsd-ports@
MVH:		2014Q2
This commit is contained in:
Boris Samorodov 2014-04-08 07:41:39 +00:00
parent 52332900ad
commit a1ee8dd5fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350583

View File

@ -303,7 +303,7 @@ post-install:
# should be reworked to build with blocks and libdispatch support (via options).
#
.include <bsd.port.pre.mk>
.if defined(CUPS_CLIENT) && ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1000000
.if (defined(CUPS_CLIENT) || defined(CUPS_IMAGE)) && ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1000000
CFLAGS+= -fno-blocks
.endif