pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Harness PERL5_PKGSRCDIR is no longer def...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4684a853e633
branches:  trunk
changeset: 494114:4684a853e633
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu May 19 15:35:41 2005 +0000

description:
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:

 devel/p5-Test-Harness/depends.mk |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 4eef3aa3078e -r 4684a853e633 devel/p5-Test-Harness/depends.mk
--- a/devel/p5-Test-Harness/depends.mk  Thu May 19 15:26:03 2005 +0000
+++ b/devel/p5-Test-Harness/depends.mk  Thu May 19 15:35:41 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index