From owner-freebsd-current@FreeBSD.ORG Wed Jul 6 08:57:35 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C417C16A41C for ; Wed, 6 Jul 2005 08:57:35 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7985C43D48 for ; Wed, 6 Jul 2005 08:57:33 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id 8C45B321570; Wed, 6 Jul 2005 10:57:32 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 04143405B; Wed, 6 Jul 2005 10:57:38 +0200 (CEST) Date: Wed, 6 Jul 2005 10:57:37 +0200 From: Jeremie Le Hen To: Ulrich Spoerlein Message-ID: <20050706085737.GT73907@obiwan.tataz.chchile.org> References: <20041102222000.GA65845@xor.obsecurity.org> <42C76DF0.8070307@magnesium.net> <20050703055842.GA1933@xor.obsecurity.org> <42C805F2.4060103@udor.net> <20050705222412.GQ73907@obiwan.tataz.chchile.org> <20050706073205.GA942@galgenberg.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050706073205.GA942@galgenberg.net> User-Agent: Mutt/1.5.9i Cc: Jeremie Le Hen , current@FreeBSD.org Subject: Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 08:57:35 -0000 Hi Ulrich, > Whats wrong with > > .if ${.CURDIR:M/usr/ports*} > CFLAGS= -O -pipe -foo > .endif > > in /etc/make.conf? Nothing wrong, but it's too tricky for end users. Only a small amount of person using FreeBSD knows make(1) enough to do this : this requires to know what is ${.CURDIR} and how to match a variable against a pattern. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >