summaryrefslogtreecommitdiff
path: root/databases/p5-DBI/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBI/buildlink3.mk')
-rw-r--r--databases/p5-DBI/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/databases/p5-DBI/buildlink3.mk b/databases/p5-DBI/buildlink3.mk
index 741ebba1660..0ebcb373cbd 100644
--- a/databases/p5-DBI/buildlink3.mk
+++ b/databases/p5-DBI/buildlink3.mk
@@ -1,25 +1,18 @@
-# $NetBSD: buildlink3.mk,v 1.13 2008/10/13 17:55:44 erh Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2009/03/20 19:24:06 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-P5_DBI_BUILDLINK3_MK:= ${P5_DBI_BUILDLINK3_MK}+
+BUILDLINK_TREE+= p5-DBI
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= p5-DBI
-.endif
+.if !defined(P5_DBI_BUILDLINK3_MK)
+P5_DBI_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Np5-DBI}
-BUILDLINK_PACKAGES+= p5-DBI
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}p5-DBI
-
-.if !empty(P5_DBI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.52
BUILDLINK_PKGSRCDIR.p5-DBI?= ../../databases/p5-DBI
BUILDLINK_INCDIRS.p5-DBI?= ${PERL5_SUB_INSTALLVENDORARCH}/auto/DBI
# We want all of the arch-dependent DBI files.
BUILDLINK_CONTENTS_FILTER.p5-DBI?= ${GREP} '/auto/DBI/'
-.endif # P5_DBI_BUILDLINK3_MK
.include "../../lang/perl5/buildlink3.mk"
+.endif # P5_DBI_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -p5-DBI