Subject: Re: imake, Solaris, Xrender
To: Hubert Feyrer <hubert@feyrer.de>
From: Johnny Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 06/15/2005 13:29:39
Hubert Feyrer wrote:
> 
> /usr/ccs/bin/make on Solaris can't handle Makefiles with empty lines, as 
> e.g. created from imake in pkgsrc/mk/buildlink3/imake-check. This results
> in funny errors like this on Solaris 9/x86:
> 
>     rfhpc8317% make clean
> ===>    make: Fatal error in reader: standard input, line 3: Unexpected 
> end of line seen
>     ===> Cleaning for xcursor-1.1.2
>     rfhpc8317% pwd
>     /usr/pkgsrc/x11/xcursor
> 
> 
> For pkgsrc/mk/buildlink3/imake-check, a solution I see is to apply the 
> patch below, which eliminates any empty lines in the Makefile created 
> with imake. Please commit if you find the patch appropriate.

/usr/ccs/bin/make barfs on blank lines?  I find that a bit surprising. 
Can you show me a simple test case?

	Thanks,

	-- Johnny Lam <jlam@NetBSD.org>