From owner-freebsd-ports@FreeBSD.ORG Sat Jul 29 20:54:29 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDFCF16A4DE; Sat, 29 Jul 2006 20:54:29 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from centrmmtao05.cox.net (centrmmtao05.cox.net [70.168.83.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8605A43D70; Sat, 29 Jul 2006 20:54:28 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([24.255.149.218]) by centrmmtao05.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060729205427.VLRS8328.centrmmtao05.cox.net@mezz.mezzweb.com>; Sat, 29 Jul 2006 16:54:27 -0400 Date: Sat, 29 Jul 2006 15:54:44 -0500 To: "Andrey Chernov" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <44C9DB7A.6030101@gmx.de> <20060728233514.GB17551@nagual.pp.ru> <20060729182049.GA36524@nagual.pp.ru> <44CBA87C.8080102@gmx.de> <20060729202002.GA37671@nagual.pp.ru> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20060729202002.GA37671@nagual.pp.ru> User-Agent: Opera Mail/9.00 (Linux) Cc: "\[LoN\]Kamikaze" , freebsd-ports@freebsd.org Subject: Re: graphics/png - CC X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 20:54:29 -0000 On Sat, 29 Jul 2006 15:20:02 -0500, Andrey Chernov = wrote: > On Sat, Jul 29, 2006 at 02:59:19PM -0500, Jeremy Messenger wrote: >> On Sat, 29 Jul 2006 13:27:08 -0500, [LoN]Kamikaze >> wrote: >> >> >Andrey Chernov wrote: >> >>On Sat, Jul 29, 2006 at 01:16:47PM -0500, Jeremy Messenger wrote: >> >>>On Fri, 28 Jul 2006 18:35:14 -0500, Andrey Chernov >> >>>wrote: >> >>> >> >>>>On Fri, Jul 28, 2006 at 11:40:10AM +0200, [LoN]Kamikaze wrote: >> >>>>>The port graphics/png does not honour the CC Variable. >> >>>>I can't reproduce that, it honors CC for me. >> >>>I can, CC=3Dgcc will not change the CC when it compiles. >> >> >> >>It is hard to imagine how it is ever possible. There is standard BS= D >> >>makefile.freebsd which not owervrites CC as you can see in the file= . >> >> No idea, I don't know png's build system so that cc must be come from= >> somewhere. >> >> >Is it possible that make.conf is read again? >> >> I think, add "CC=3D${CC}" in graphics/png/Makefile's MAKE_ENV at 31 l= ine >> should do. > > It will be hack for reason unknown, I prefer to avoid that. It is not a hack and it is known reason that you need to honor CC. > I normally set CC to anything and it honors. How did you set? The graphics/png doesn't honor it when you add CC=3Dfoo= bar = in make.conf or graphics/png/Makefile. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-c= c.html > I never heard from somebody other than you about that problem. I don't tweak CC, so it's why I never have seen it until LoN_Kamikaze = report it. Not many people do that, but it's good to honor CC for icc, = choice versions of gcc and other compilers. > You should inspect your build path step by step to find real reason of= > that bag, only after that we can find the real fix. I already have gave you a solution. If you don't like it then it's your = = job to figure another solution as you are maintaining for this port. Cheers, Mezz -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org