Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 10:57:37 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de>
Cc:        Jeremie Le Hen <jeremie@le-hen.org>, current@FreeBSD.org
Subject:   Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0
Message-ID:  <20050706085737.GT73907@obiwan.tataz.chchile.org>
In-Reply-To: <20050706073205.GA942@galgenberg.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050706085737.GT73907>