summaryrefslogtreecommitdiff
path: root/databases/p5-DBI/buildlink3.mk
blob: ff21b0785b0d9f23d61367a3212fcd5490c79717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
P5_DBI_BUILDLINK3_MK:=	${P5_DBI_BUILDLINK3_MK}+

.if !empty(P5_DBI_BUILDLINK3_MK:M\+)
BUILDLINK_DEPENDS.p5-DBI?=	p5-DBI>=1.30
BUILDLINK_PKGSRCDIR.p5-DBI?=	../../databases/p5-DBI
BUILDLINK_INCDIRS.p5-DBI?=	${PERL5_SUB_INSTALLSITEARCH}/auto/DBI
.endif	# P5_DBI_BUILDLINK3_MK

.if !empty(BUILDLINK_DEPTH:M\+)
BUILDLINK_DEPENDS+=	p5-DBI
.endif

.if !empty(P5_DBI_BUILDLINK3_MK:M\+)
BUILDLINK_PACKAGES+=	p5-DBI

.  include "../../lang/perl5/buildlink3.mk"
.endif	# P5_DBI_BUILDLINK3_MK

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:C/\+$//}