Subject: Re: DEPENDS semantics changed silently
To: Hubert Feyrer <hubert@feyrer.de>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 02/02/2006 10:17:51
Hubert Feyrer wrote:
> 
> Once upon a time, setting DEPENDS allowed an optional third value as the 
> target that's executed, i.e.
> 
>     DEPENDS+= foobar:../../foos/foobar:extract
>                                       ^^^^^^^^
> 
> would only extract the foobar sources. Apparently this feature 
> disappeared (including its documentation, as far as I've found?), but 
> nothing was added to ensure either backward compatibility or an 
> appropriate error message. Code relying on the old behaviour will just 
> not work.

That must have been a long time ago. I didn't know about this feature, 
and pkglint doesn't either. Using the above syntax would result in a 
pkglint error, and there is no such error in the current tree, which 
means that no current package is using this feature.

What package do you need this for? Maybe there's another way to model it.

Roland