Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0

From: Maxime Henrion <mux_at_FreeBSD.org>
Date: Wed, 6 Jul 2005 11:09:22 +0200
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
Received on Wed Jul 06 2005 - 07:09:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC