Subject: Re: Types of dependencies (was: Re: Usage of USE_TOOLS)
To: None <>
From: Joerg Sonnenberger <>
List: tech-pkg
Date: 11/20/2007 17:09:30
On Tue, Nov 20, 2007 at 12:28:05PM +0100, Roland Illig wrote:
> Quentin Garnier wrote:
>> On Tue, Nov 20, 2007 at 12:48:04AM +0100, Roland Illig wrote:
>>> 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?
> <opinion>
> Well, ahemmm, I guess it's a design mistake, or at least an inexactness. 
> When USE_TOOLS had been added, we didn't have cross-compiling in mind. And 
> since the USE_TOOLS syntax was very nice, it was extended to cover runtime 
> dependencies as well.
> </opinion>

I disagree. While it wasn't in the mind of the person who added it,
cross-compiling fits well into this scheme and most USE_TOOLS entries fall
purely into the category of native tool (with optional run time