From owner-freebsd-ports@FreeBSD.ORG Tue Jul 28 16:00:48 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 86EDB1065673 for ; Tue, 28 Jul 2009 16:00:48 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 633BA8FC33 for ; Tue, 28 Jul 2009 16:00:48 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: (qmail 10033 invoked from network); 28 Jul 2009 15:34:07 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 28 Jul 2009 15:34:07 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 92A375082A; Tue, 28 Jul 2009 11:34:06 -0400 (EDT) To: jafa82@gmail.com References: <4A6EED3A.7030101@gmail.com> From: Lowell Gilbert Date: Tue, 28 Jul 2009 11:34:06 -0400 In-Reply-To: <4A6EED3A.7030101@gmail.com> (Eric Damien's message of "Tue\, 28 Jul 2009 08\:21\:14 -0400") Message-ID: <441vo0g6tt.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ports@FreeBSD.org Subject: Re: "ghost" ports CFLAGS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ports@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2009 16:00:48 -0000 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 ...]