From owner-freebsd-ports@FreeBSD.ORG Wed Jul 29 14:48:05 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 175E6106566C for ; Wed, 29 Jul 2009 14:48:05 +0000 (UTC) (envelope-from jafa82@gmail.com) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id C237E8FC1A for ; Wed, 29 Jul 2009 14:48:04 +0000 (UTC) (envelope-from jafa82@gmail.com) Received: by qyk29 with SMTP id 29so1086143qyk.3 for ; Wed, 29 Jul 2009 07:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=NGSNTym3w4x55MmLoTV1qgFbQIbB1Khur41Gk9W2B5E=; b=h8l1MnCLQtNoo9QC1xeWd2lnwdIG0t79Mc8muLoOCBqyTWhIT9JsM4yVH2IVygyvqO qbkkvhgB3MUbfl2uDvy+XYp3eidl1afSWBOosTmUttD0d2V2XyZsvhoyvx7ZzI6iqWsL F7bbsQC275LDUT78xuPDwvsr7d0jyBdzL7APQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QaX+MZ58yb/S9v/1h/sfl1Vth4jBv3xZwUvnaYGIqvLgge4cjdZJGGpdNoKvUIgh4n k9Ex4CgXAtw2dX31eQxzF7oRthp5kGckPyUktHyh7x9OZZGrinBhdH4edDyjC7orhKtj v/kZOv6w0ks7CAf8Mm0uz5KHya5y1vmeRRGEw= MIME-Version: 1.0 Received: by 10.224.29.8 with SMTP id o8mr3465382qac.31.1248878884221; Wed, 29 Jul 2009 07:48:04 -0700 (PDT) In-Reply-To: <441vo0g6tt.fsf@be-well.ilk.org> References: <4A6EED3A.7030101@gmail.com> <441vo0g6tt.fsf@be-well.ilk.org> Date: Wed, 29 Jul 2009 10:48:04 -0400 Message-ID: <4d4ab19d0907290748q5493eb92g6bad8d081388441@mail.gmail.com> From: Eric Damien To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: "ghost" ports CFLAGS 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: Wed, 29 Jul 2009 14:48:05 -0000 Well, I just edited the /etc/make.conf. About the clean build directories, I performed make clean (even if portmaster is already supposed to do so, unless instructed otherwise); I even deleted the ports tree and made a fresh portsnap fetch extract: no use. Not to stay stuck, I decied to include a ports.conf in make.conf just to switch back to the other compiler (actually gcc43/g++43), on those problematic ports. But then again, that is a temporary solution. Do you think there may be another path to explore ? Thanks, Eric Damien. On Tue, Jul 28, 2009 at 11:34 AM, Lowell Gilbert < freebsd-ports-local@be-well.ilk.org> wrote: > Eric Damien writes: > > > I edited my /etc/make.conf in order to change the default compiler via > > the CC and CXX variables. I also happened to edit the CFLAGS value, > > all of this changes enclosed within a conditional check on the > > directory, of the form: > > .if ${CURDIR:M*/ports*} > > CFLAGS= -mtune=amdfam10 -msse4e > > .endif > > I made a general config using postmaster. > > After some trouble with some ports, I decided to get rid of those > > modifications and commented the above form. > > But, I was surprised to see that some ports still present this value > > of CFLAGS at building time. > > How can I correct this mistake. > > Just a guess; you built them previously and didn't clean the build > directories? > > Or maybe you put those options in a portmaster config file? > [ /usr/local/etc/portmaster.rc or $HOME/.portmasterrc ...] >