summaryrefslogtreecommitdiff
path: root/lang/perl5/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5/buildlink3.mk')
-rw-r--r--lang/perl5/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk
index de805a61507..c6da4cd12af 100644
--- a/lang/perl5/buildlink3.mk
+++ b/lang/perl5/buildlink3.mk
@@ -1,17 +1,10 @@
-# $NetBSD: buildlink3.mk,v 1.43 2008/10/19 19:10:42 he Exp $
+# $NetBSD: buildlink3.mk,v 1.44 2009/03/20 19:24:51 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-PERL5_BUILDLINK3_MK:= ${PERL5_BUILDLINK3_MK}+
+BUILDLINK_TREE+= perl
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= perl
-.endif
+.if !defined(PERL5_BUILDLINK3_MK)
+PERL5_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nperl}
-BUILDLINK_PACKAGES+= perl
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}perl
-
-.if !empty(PERL5_BUILDLINK3_MK:M+)
.include "../../mk/bsd.fast.prefs.mk"
PERL5_REQD+= 5.10.0
.for _perl5_ver_ in ${PERL5_REQD}
@@ -43,6 +36,6 @@ BUILDLINK_FILES.perl= \
${PERL5_SUB_INSTALLARCHLIB}/CORE/* \
${PERL5_SUB_INSTALLARCHLIB}/auto/DynaLoader/DynaLoader.a
. endif
-.endif # PERL5_BUILDLINK3_MK
+.endif # PERL5_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -perl