summaryrefslogtreecommitdiff
path: root/databases/p5-DBI/buildlink3.mk
blob: 55b2950e722e84e5b3d7fc816c66276b901777a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: buildlink3.mk,v 1.9 2005/08/06 06:19:06 jlam Exp $

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

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Np5-DBI}
BUILDLINK_PACKAGES+=	p5-DBI

.if !empty(P5_DBI_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.p5-DBI+=	p5-DBI>=1.48nb1
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"

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:S/+$//}