Date: Wed, 17 Jul 2013 15:27:59 +0200 (CEST) From: Tijl Coosemans <tijl@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/180608: [patch] graphics/oyranos: fix package build Message-ID: <201307171327.r6HDRxGU003126@kalimero.tijl.coosemans.org> Resent-Message-ID: <201307171330.r6HDU0eO056267@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307171327.r6HDRxGU003126>