Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2014 07:13:07 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r350199 - branches/2014Q2/print/cups-base
Message-ID:  <201404050713.s357D7FB045507@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Sat Apr  5 07:13:07 2014
New Revision: 350199
URL: http://svnweb.freebsd.org/changeset/ports/350199
QAT: https://qat.redports.org/buildarchive/r350199/

Log:
  MFH: 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>
  Discussed at:	freebsd-ports@
  Approved by:	portmgr (bapt)

Modified:
  branches/2014Q2/print/cups-base/Makefile
Directory Properties:
  branches/2014Q2/   (props changed)

Modified: branches/2014Q2/print/cups-base/Makefile
==============================================================================
--- branches/2014Q2/print/cups-base/Makefile	Sat Apr  5 06:34:54 2014	(r350198)
+++ branches/2014Q2/print/cups-base/Makefile	Sat Apr  5 07:13:07 2014	(r350199)
@@ -299,4 +299,12 @@ post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/ulpt-cupsd.sh ${STAGEDIR}${PREFIX}/sbin/
 .endif
 
-.include <bsd.port.mk>
+# This is just a band-aid to unbreak print/cups-client at systems with default gcc compiler,
+# 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
+CFLAGS+=	-fno-blocks
+.endif
+
+.include <bsd.port.post.mk>



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