summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-19 03:09:52 +0000
committerjlam <jlam@pkgsrc.org>2005-05-19 03:09:52 +0000
commitc51012ebef444587d30d25ee9dfa3e643ca100f0 (patch)
tree3b248796429da8f52cec63bf861beb2318979fbf /lang
parent204649755876544eb4d58a1c42e18a251dac148f (diff)
downloadpkgsrc-c51012ebef444587d30d25ee9dfa3e643ca100f0.tar.gz
When perl5/buildlink3.mk is included by a package Makefile, the buildlink
framework will handle adding the correct dependency.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/buildlink3.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk
index c88133b1176..55f321912d2 100644
--- a/lang/perl5/buildlink3.mk
+++ b/lang/perl5/buildlink3.mk
@@ -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 @@ PERL5_REQD+= 5.0
. 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 @@ BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl58
.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