blob: 542fca36b3b40caabaf60e74ce0d85d287fb0dd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# $NetBSD: depends.mk,v 1.5 2005/05/19 15:35:41 jlam Exp $
.include "../../mk/bsd.prefs.mk"
# perl58>=5.8.3 includes Test::Harness, so we allow it to satisfy this
# dependency.
#
# This does however cause problems for the bulk-builds; it adds all
# packages in the "path"-part of the DEPENDS to the list of required
# packages, and thus refuses to build the packages depending on
# this package when it fails...
#
# Fix this for now by noting that if there is no PERL5 installed, then
# a sufficiently new perl will be installed, so the DEPENDS line is
# not needed... This hack should be removed when the bulk-build
# dependency- tracking has been fixed.
#
.if defined(PERL5) && exists(${PERL5})
DEPENDS+= {perl{,-thread}>=5.8.3,p5-Test-Harness-[0-9]*}:../../devel/p5-Test-Harness
.endif
|