Subject: Re: Malformed conditional && solaris
To: None <mlh@goathill.org>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-pkg
Date: 09/02/2005 23:24:34
MLH wrote:
> Why is bmake complaining about this on Solaris ?
> 
> bmake: "/usr/pkgsrc/x11/py-qt3-sip/Makefile" line 38: Malformed conditional
> (${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc*))
> bmake: "/usr/pkgsrc/x11/py-qt3-sip/Makefile" line 44: if-less endif
> bmake: "/usr/pkgsrc/x11/py-qt3-sip/Makefile" line 44: Need an operator
> 
> I suspect that something in the environment is causing
> !empty(CC_VERSION:Mgcc*) to fail, but I can't locate what.
> 
> Any ideas?

The solution to this problem has been discussed elsewhere in this 
thread, but in general, "Malformed conditional" in constructs such as 
this one usually means that a variable (in this case CC_VERSION) is 
undefined.

-- 
Gillette - the best a man can forget