Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 07:41:39 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350583 - head/print/cups-base
Message-ID:  <201404080741.s387fdJF083586@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@bris.ac.uk>
  Tested by:	Anton Shterenlikht <mexas@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
 



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