Commit graph

3 commits

Author SHA1 Message Date
kristerw
3fba5eaf4d Work around brokenness in the bulk build.
The problem is that perl58>=5.8.3 includes Test::Harness, so we allow
it to satisfy this dependency.  The default perl in pkgsrc is 5.8.4,
so no package will depend on devel/p5-Test-Harness (unless the user
has an old perl installation, or overrides the default).  But the way
the bulk build tracks dependencies makes it add dependencies on
devel/p5-Test-Harness anyway...

Work around this for now, by noting that if there is no PERL5 installed,
and the user has not overridden the default, then we do not need
to add anything to the DEPENDS at all (since perl 5.8.4 will be
used from the normal USE_PERL5 mechanism).
2004-07-13 22:01:03 +00:00
grant
a8c438f3b5 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.
2004-06-12 04:01:45 +00:00
grant
b2e0fa4a11 move the p5-Test-Harness DEPENDS to p5-Test-Harness where it belongs,
so any package requiring it can DTRT.
2004-05-08 04:05:58 +00:00