Subject: Re: bogus 'Please add USE_LANGUAGES+=c to the package Makefile'
To: Roland Illig <rillig@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 07/27/2006 18:47:23
On Fri, 28 Jul 2006 00:35:56 +0200, Roland Illig <rillig@NetBSD.org> wrote:

> Steven M. Bellovin wrote:
> > I'm working on a package for xml2rfc.  I ran my package and got the
> > message "Please add USE_LANGUAGES+=c to the package Makefile".  Fair
> > enough, except that it doesn't use C; it's written in tcl/tk.   What,
> > if anything, should I add to the Makefile?  I currently use
> > 
> > 	DEPENDS+=       tcl>=8.0:../../lang/tcl
> 
> This warning means that somewhere in the build process, the C compiler 
> is executed. The file work/.work.log should contain a log entry of that. 
> When, with what command line arguments and (most important) why is the C 
> compiler run?
> 
It isn't run, at least not according to that file:

 $ cat work/.work.log
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  
[*] /usr/pkgsrc/print/xml2rfc/work/.tools/bin/true 
<.> true  



		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb