From owner-freebsd-current@FreeBSD.ORG Wed Jul 6 09:09:22 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 6593916A41C for ; Wed, 6 Jul 2005 09:09:22 +0000 (GMT) (envelope-from mux@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46C5043D45 for ; Wed, 6 Jul 2005 09:09:22 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 2ED0C5C9CC; Wed, 6 Jul 2005 02:09:22 -0700 (PDT) Date: Wed, 6 Jul 2005 11:09:22 +0200 From: Maxime Henrion To: Jeremie Le Hen Message-ID: <20050706090922.GA14567@elvis.mu.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> <20050706085737.GT73907@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050706085737.GT73907@obiwan.tataz.chchile.org> User-Agent: Mutt/1.4.2.1i Cc: 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 09:09:22 -0000 Jeremie Le Hen wrote: > 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. Not to mention it is actually a hack since ports may be anywhere on the filesystem and not necessarily in /usr/ports. Cheers, Maxime