diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-19 15:35:41 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-19 15:35:41 +0000 |
commit | 2bd27ce2700bb60958f2ee7c1aafd373258eb743 (patch) | |
tree | 48ea54284bc90872e38bd367465deeea74c25b02 /devel | |
parent | 3fb11512b997a3c4c8e170e70cfafa4d92b214a3 (diff) | |
download | pkgsrc-2bd27ce2700bb60958f2ee7c1aafd373258eb743.tar.gz |
PERL5_PKGSRCDIR is no longer defined under the new tools framework.
Modify this bulk-build workaround by not checking for PERL5_PKGSRCDIR,
and instead just relying on the presence or absence of ${PERL5}.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Test-Harness/depends.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/p5-Test-Harness/depends.mk b/devel/p5-Test-Harness/depends.mk index 01ce91d7d05..542fca36b3b 100644 --- a/devel/p5-Test-Harness/depends.mk +++ b/devel/p5-Test-Harness/depends.mk @@ -1,4 +1,4 @@ -# $NetBSD: depends.mk,v 1.4 2005/05/12 06:04:09 jlam Exp $ +# $NetBSD: depends.mk,v 1.5 2005/05/19 15:35:41 jlam Exp $ .include "../../mk/bsd.prefs.mk" @@ -10,11 +10,11 @@ # 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, -# and PERL5_PKGSRCDIR has not been set, 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 exists(${PERL5}) || defined(PERL5_PKGSRCDIR) +# 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 |