Subject: Re: Usage of USE_TOOLS
To: Roland Illig <rillig@NetBSD.org>
From: Quentin Garnier <cube@cubidou.net>
List: tech-pkg
Date: 11/20/2007 00:52:49
On Tue, Nov 20, 2007 at 12:48:04AM +0100, Roland Illig wrote:
> Min Sik Kim wrote:
> >The USE_TOOLS definition is used both internally by pkgsrc and also
> >for individual packages to define what commands are needed for
> >building  a package (like BUILD_DEPENDS) or for later run-time of an
> >installed packaged (such as DEPENDS). If the native system provides
> >an adequate tool, then in many cases, a pkgsrc package will not be
> >used.
> 
> The confusion gets clear when we consider cross-compiling SPARC packages 
> (target platform) on i386 (native platform). There are many types of 
> dependencies:
> 
> USE_TOOLS: tools for the native platform. References to these tools 
> should not end up in the package binary, unless the paths are the same. 
> (XXX: How can this be checked?)

So what does USE_TOOLS+= perl:run means in that scheme, then?

-- 
Quentin Garnier.