Date: Wed, 6 Jul 2005 11:09:22 +0200 From: Maxime Henrion <mux@FreeBSD.org> To: Jeremie Le Hen <jeremie@le-hen.org> Cc: current@FreeBSD.org Subject: Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 Message-ID: <20050706090922.GA14567@elvis.mu.org> In-Reply-To: <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> <20050706085737.GT73907@obiwan.tataz.chchile.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050706090922.GA14567>