Subject: Re: can't get bmake to accept .if ${OPSYS}
To: Mark E. Perkins <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 09/03/2004 16:55:54
On Fri, 3 Sep 2004, Mark E. Perkins wrote:

> .if ${OPSYS} == "Darwin"
> .endif
> When I do this, I get the following errors:
> bmake: "/usr/pkgsrc/local/tidy/Makefile" line 27: Malformed conditional
> (${OPSYS} == "Darwin")

I think this is because OPSYS is not defined yet. Include the
mk/ before that.

For examples, see: archivers/afio/Makefile, devel/binutils/Makefile,
devel/gdb/Makefile, devel/p4/Makefile.common and many others.

 Jeremy C. Reed

 	  	 	 technical support & remote administration