From owner-freebsd-ports@FreeBSD.ORG Sat Jul 29 21:02:45 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 3873D16A4DA for ; Sat, 29 Jul 2006 21:02:45 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E09E43D6D for ; Sat, 29 Jul 2006 21:02:44 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.7/8.13.7) with ESMTP id k6TL2d21038448; Sun, 30 Jul 2006 01:02:39 +0400 (MSD) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.7/8.13.7/Submit) id k6TL2dvi038447; Sun, 30 Jul 2006 01:02:39 +0400 (MSD) (envelope-from ache) Date: Sun, 30 Jul 2006 01:02:38 +0400 From: Andrey Chernov To: Jeremy Messenger Message-ID: <20060729210238.GA38118@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Jeremy Messenger , "[LoN]Kamikaze" , freebsd-ports@FreeBSD.ORG References: <44C9DB7A.6030101@gmx.de> <20060728233514.GB17551@nagual.pp.ru> <20060729182049.GA36524@nagual.pp.ru> <44CBA87C.8080102@gmx.de> <20060729202002.GA37671@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 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 21:02:45 -0000 On Sat, Jul 29, 2006 at 03:54:44PM -0500, Jeremy Messenger wrote: > >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. It is not a reason, it is a goal. The reason is the bug true nature discovered. > >I normally set CC to anything and it honors. > > How did you set? The graphics/png doesn't honor it when you add CC=foobar > in make.conf or graphics/png/Makefile. /usr/ports/graphics/png ttyp2 73_# setenv CC "gcc -g" /usr/ports/graphics/png ttyp2 74_# make ===> Extracting for png-1.2.12_1 => MD5 Checksum OK for libpng-1.2.12.tar.bz2. => SHA256 Checksum OK for libpng-1.2.12.tar.bz2. ===> Patching for png-1.2.12_1 ===> Applying FreeBSD patches for png-1.2.12_1 ===> Configuring for png-1.2.12_1 ===> Building for png-1.2.12_1 gcc -g -O2 -fno-strict-aliasing -pipe -march=pentium4 -march=pentium4 -c png.c ^^^^^^ gcc -g -O2 -fno-strict-aliasing -pipe -march=pentium4 -march=pentium4 -c pngset.c gcc -g -O2 -fno-strict-aliasing -pipe -march=pentium4 -march=pentium4 -c pngget.c gcc -g -O2 -fno-strict-aliasing -pipe -march=pentium4 -march=pentium4 -c pngrutil.c ^C > >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. Solution for what? You don't describe where the bug is exactly. Since I can't reproduce this situation on my machine, I can only relay upon your inspecting to maintain this port in this matter. -- http://ache.pp.ru/