Subject: CVS commit: pkgsrc/devel/p5-Test-Harness
To: None <pkgsrc-changes@NetBSD.org>
From: Krister Walfridsson <kristerw@netbsd.org>
List: pkgsrc-changes
Date: 07/13/2004 22:01:03
Module Name:	pkgsrc
Committed By:	kristerw
Date:		Tue Jul 13 22:01:03 UTC 2004

Modified Files:
	pkgsrc/devel/p5-Test-Harness: depends.mk

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/devel/p5-Test-Harness/depends.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.