summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-11-21 22:49:45 +0000
committerminskim <minskim@pkgsrc.org>2007-11-21 22:49:45 +0000
commit262a09d94e9d555aada5ab951e243622e17db993 (patch)
treec154773b5798d761e3b1f627b6a2bfc1763733e4 /lang
parentf8513456b330e7d2d008c49345207bf6dddea012 (diff)
downloadpkgsrc-262a09d94e9d555aada5ab951e243622e17db993.tar.gz
Properly fix the problem that 1.40 addressed. PERL5_REQD should be
treated as a list.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/buildlink3.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk
index 0445eb7dce2..1ca1ea13b77 100644
--- a/lang/perl5/buildlink3.mk
+++ b/lang/perl5/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.40 2007/11/21 21:50:43 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.41 2007/11/21 22:49:45 minskim Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PERL5_BUILDLINK3_MK:= ${PERL5_BUILDLINK3_MK}+
@@ -13,10 +13,10 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}perl
.if !empty(PERL5_BUILDLINK3_MK:M+)
.include "../../mk/bsd.fast.prefs.mk"
-USE_TOOLS+= perl
PERL5_REQD+= 5.8.7
-TOOLS_DEPENDS.perl= # buildlink3 will handle the dependency
-BUILDLINK_API_DEPENDS.perl+= perl>=${PERL5_REQD}
+.for _perl5_ver_ in ${PERL5_REQD}
+BUILDLINK_API_DEPENDS.perl+= perl>=${_perl5_ver_}
+.endfor
BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5
FIND_PREFIX:= PERLDIR=perl