Subject: Re: CVS commit: pkgsrc/devel/p5-Test-Harness
To: None <grant@NetBSD.org>
From: Krister Walfridsson <cato@df.lth.se>
List: tech-pkg
Date: 06/13/2004 11:09:37
On Sat, 12 Jun 2004, grant beattie wrote:

> Log Message:
> swap order of depends so that perl>=5.8.3 is preferred over
> p5-Test-Harness.
>
> the old way:
>
>   {p5-Test-Harness-[0-9]*,perl{,-thread}>=5.8.3}:../../devel/p5-Test-Harness
>
> is normally ok because if either is installed the dependency is
> satisfied. however, in a bulk build, every package which uses this
> DEPENDS is automatically failed because p5-Test-Harness is preferred
> but it conflicts with perl>=5.8.3 (they both install bin/prove and
> prove.1).
>
> this way, perl is preferred and the dependency should be satisfied
> correctly in bulk builds.

This does not work...  :(

The reason is that the bulk build still registers
../../devel/p5-Test-Harness as a dependency (even though
this dependency may be satisfied by "perl{,-thread}>=5.8.3"),
and the packages are then marked as broken when devel/p5-Test-Harness
fails to build.

   /Krister