From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 17 13:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B96EDBCA for ; Wed, 17 Jul 2013 13:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2ACF75 for ; Wed, 17 Jul 2013 13:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6HDU004056268 for ; Wed, 17 Jul 2013 13:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6HDU0eO056267; Wed, 17 Jul 2013 13:30:00 GMT (envelope-from gnats) Resent-Date: Wed, 17 Jul 2013 13:30:00 GMT Resent-Message-Id: <201307171330.r6HDU0eO056267@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tijl Coosemans Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A28BDB89 for ; Wed, 17 Jul 2013 13:28:08 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay006.isp.belgacom.be (mailrelay006.isp.belgacom.be [195.238.6.172]) by mx1.freebsd.org (Postfix) with ESMTP id 48231F60 for ; Wed, 17 Jul 2013 13:28:07 +0000 (UTC) Received: from 50.172-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.172.50]) by relay.skynet.be with ESMTP; 17 Jul 2013 15:28:01 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r6HDRxLX003127 for ; Wed, 17 Jul 2013 15:28:00 +0200 (CEST) (envelope-from tijl@kalimero.tijl.coosemans.org) Received: (from tijl@localhost) by kalimero.tijl.coosemans.org (8.14.7/8.14.7/Submit) id r6HDRxGU003126; Wed, 17 Jul 2013 15:27:59 +0200 (CEST) (envelope-from tijl) Message-Id: <201307171327.r6HDRxGU003126@kalimero.tijl.coosemans.org> Date: Wed, 17 Jul 2013 15:27:59 +0200 (CEST) From: Tijl Coosemans To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/180608: [patch] graphics/oyranos: fix package build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 13:30:00 -0000 >Number: 180608 >Category: ports >Synopsis: [patch] graphics/oyranos: fix package build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 17 13:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tijl Coosemans >Release: FreeBSD 10.0-CURRENT i386 >Organization: >Environment: >Description: Fix for this package build error: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.8.20130716075822.pointyhat/oyranos-0.9.4.log Apparently the INDEX is built on a machine with clang while the package is not, so add a limit on OSVERSION like editors/libreoffice does. Also, it may be better to replace USE_GCC with a build dependency on lang/clang. USE_GCC adds a run dependency on gcc which makes the package a lot heavier to download and install. >How-To-Repeat: >Fix: --- oyranos.patch begins here --- Index: graphics/oyranos/Makefile =================================================================== --- graphics/oyranos/Makefile (revision 323099) +++ graphics/oyranos/Makefile (working copy) @@ -38,7 +38,7 @@ MAN1= oyranos-config-fltk.1 oyranos-mon oyranos-profile.1 oyranos-profiles.1 oyranos-xforms-modules.1 qcmsevents.1 MAN3= oyranos-config.3 oyranos.3 -.if exists(/usr/bin/clang) +.if exists(/usr/bin/clang) && ${OSVERSION} > 901502 CC= /usr/bin/clang CPP= /usr/bin/clang-cpp CXX= /usr/bin/clang++ --- oyranos.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: