svn commit: r350583 - head/print/cups-base

Boris Samorodov bsam at FreeBSD.org
Tue Apr 8 07:41:40 UTC 2014


Author: bsam
Date: Tue Apr  8 07:41:39 2014
New Revision: 350583
URL: http://svnweb.freebsd.org/changeset/ports/350583
QAT: https://qat.redports.org/buildarchive/r350583/

Log:
  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 at bris.ac.uk>
  Tested by:	Anton Shterenlikht <mexas at bris.ac.uk>
  Discussed at:	freebsd-ports@
  MVH:		2014Q2

Modified:
  head/print/cups-base/Makefile

Modified: head/print/cups-base/Makefile
==============================================================================
--- head/print/cups-base/Makefile	Tue Apr  8 07:36:00 2014	(r350582)
+++ head/print/cups-base/Makefile	Tue Apr  8 07:41:39 2014	(r350583)
@@ -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
 


More information about the svn-ports-head mailing list