tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: DEPENDS semantics (was: removing useless dependencies)
>> Again: the pattern itself provides the most natural ordering. Anything
>> else violates the principle of least surprise.
>
> For the most common existing use case, the ordering would be
> counterproductive. Viz.:
>
> DEPENDS+= gtar-base-${PKGVERSION}{,nb*}:../../devel/gtar-base
>
> by your argument it should prefer gtar-base-1.2.4 to gtar-base-1.2.4nbX.
Would inverting it (i.e. always prefer the _last_ entry) work?
Would it work if we applied the "highest version number" strategy for
the same basename only?
--Benny.
Home |
Main Index |
Thread Index |
Old Index