pkgsrc/devel/p5-Test-Harness/depends.mk
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

5 lines
228 B
Makefile

# $NetBSD: depends.mk,v 1.2 2004/06/12 04:01:45 grant Exp $
# perl58>=5.8.3 includes Test::Harness, so allow it to satisfy this
# dependency.
DEPENDS+= {perl{,-thread}>=5.8.3,p5-Test-Harness-[0-9]*}:../../devel/p5-Test-Harness