summaryrefslogtreecommitdiff
path: root/devel/dlcompat/buildlink3.mk
blob: 5b6358b15296aac0f04a3b0eaea48c3bd79ba3c4 (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.6 2004/07/18 09:35:08 schmonz Exp $

.if ${OPSYS} == "Darwin"

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
DLCOMPAT_BUILDLINK3_MK:=	${DLCOMPAT_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	dlcompat
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ndlcompat}
BUILDLINK_PACKAGES+=	dlcompat

.if !empty(DLCOMPAT_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.dlcompat+=	dlcompat>=20030629
BUILDLINK_PKGSRCDIR.dlcompat?=	../../devel/dlcompat
.endif  # DLCOMPAT_BUILDLINK3_MK

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

.endif	# OPSYS