Subject: Re: cucipop 'Make clean' error
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Frederick Bruckman <fb@enteract.com>
List: tech-pkg
Date: 12/01/2000 11:01:22
On Sat, 2 Dec 2000 itojun@iijlab.net wrote:

> >===> mail/cucipop
> >"Makefile", line 21: Malformed conditional (${USE_INET6} == "YES")
> >"Makefile", line 21: Need an operator
> >"Makefile", line 23: if-less endif
> >"Makefile", line 23: Need an operator
> >Fatal errors encountered -- cannot continue
> 
> 	does not repeat for me.  make sure you have very up-to-date files
> 	for both under "mk" and "mail/cucipop".

No doubt because USE_INET6 gets set to "YES" on your systems. On
non-inet6 capable systems, the conditional expands to ``.if ==
"YES"'', which is why "make" complains. The usual solution is to test
for the variable to be defined, first: ``.if defined(USE_INET6) &&
${USE_INET6} == "YES"''.

Frederick