From owner-svn-ports-head@FreeBSD.ORG Tue Apr 8 07:41:40 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A4D7AB4; Tue, 8 Apr 2014 07:41:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBA78109F; Tue, 8 Apr 2014 07:41:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s387fdTd083587; Tue, 8 Apr 2014 07:41:39 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s387fdJF083586; Tue, 8 Apr 2014 07:41:39 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201404080741.s387fdJF083586@svn.freebsd.org> From: Boris Samorodov Date: Tue, 8 Apr 2014 07:41:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350583 - head/print/cups-base X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 07:41:40 -0000 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 Tested by: Anton Shterenlikht 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 -.if defined(CUPS_CLIENT) && ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1000000 +.if (defined(CUPS_CLIENT) || defined(CUPS_IMAGE)) && ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1000000 CFLAGS+= -fno-blocks .endif