tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: removing useless dependencies



On Fri, Jul 10, 2015 at 11:24:47AM +0200, Edgar Fuß wrote:
> > The Perl patterns essentially assume that the version of Perl
> > will be higher than the version of the module.
> Do I read this correctly as "the module version in the given Perl's core 
> will be higher than the module version provided by the pkgsrc package"?

No. Let's pick a nice example to illustrate the problem:

DEPENDS+= {perl>=5.17.3,p5-Text-Tabs+Wrap>=2001.0131}:../../textproc/p5-Text-Tabs+Wrap

from bugzilla. Let's say we have perl-5.22.0 and
p5-Text-Tabs+Wrap-2013.0523nb2 in the repository. By itself, this will
install p5-Text-Tabs+Wrap-2013.0523nb2 because it has the higher version
number.

On the other hand:

DEPENDS+= {perl>=5.8.4,p5-MIME-Base64>=3.01}:../../converters/p5-MIME-Base64

Let's say we have perl-5.22.0 and p5-MIME-Base64-3.15nb1 at hand. By
itself, this will install perl-5.22.0 as it has the higher version
number.

Two very similar alternative patterns with different results. What is in
Perl core is completely irrelevant here.

Joerg


Home | Main Index | Thread Index | Old Index