Subject: Re: Malformed conditional && solaris
To: Gilles Dauphin <Gilles.Dauphin@enst.fr>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 09/01/2005 20:10:44
On Thu, Sep 01, 2005 at 10:42:28AM +0200, Gilles Dauphin wrote:

> Many package have this bug. I move the conditional expression
> after "../../mk/bsd.prefs.mk" and work for me. That is true also
> if you set CFLAGS.SunOS before  this include.

can you point out an example of the latter?

that should certainly not happen, as <opsysvar>.${OPSYS} isn't used
until bsd.pkg.mk is included, which will always be last.

as for CC_VERSION, you must include compiler.mk before testing its
value.

grant.