pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 When perl5/buildlink3.mk is included by a p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8bf52b736ea
branches:  trunk
changeset: 494087:c8bf52b736ea
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu May 19 03:09:52 2005 +0000

description:
When perl5/buildlink3.mk is included by a package Makefile, the buildlink
framework will handle adding the correct dependency.

diffstat:

 lang/perl5/buildlink3.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r cfac312864fb -r c8bf52b736ea lang/perl5/buildlink3.mk
--- a/lang/perl5/buildlink3.mk  Thu May 19 02:27:38 2005 +0000
+++ b/lang/perl5/buildlink3.mk  Thu May 19 03:09:52 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2005/05/18 22:42:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2005/05/19 03:09:52 jlam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 PERL5_BUILDLINK3_MK:=  ${PERL5_BUILDLINK3_MK}+
@@ -19,6 +19,7 @@
 .  endif
 USE_TOOLS+=    perl
 
+TOOLS_DEPENDS.perl=            # buildlink3 will handle the dependency
 BUILDLINK_DEPENDS.perl+=       {perl>=${PERL5_REQD},perl-thread>=${PERL5_REQD}}
 BUILDLINK_RECOMMENDED.perl+=   perl>=5.8.5nb6
 BUILDLINK_PKGSRCDIR.perl?=     ../../lang/perl58
@@ -26,8 +27,6 @@
 .if (defined(USE_PERL5) && !empty(USE_PERL5:Mbuild)) || \
     (defined(TOOLS_DEPMETHOD.perl) && !empty(TOOLS_DEPMETHOD.perl:MBUILD_DEPENDS))
 BUILDLINK_DEPMETHOD.perl?=     build
-.else
-TOOLS_DEPMETHOD.perl?=         DEPENDS
 .endif
 
 PERL5_OPTIONS?=                # empty



Home | Main Index | Thread Index | Old Index