summaryrefslogtreecommitdiff
path: root/devel/libffi/buildlink3.mk
blob: 74499c22e35dcd23acf65ca86aadadf51107a31b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: buildlink3.mk,v 1.1 2004/03/28 20:46:52 jmmv Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LIBFFI_BUILDLINK3_MK:=	${LIBFFI_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibffi}
BUILDLINK_PACKAGES+=	libffi

.if !empty(LIBFFI_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.libffi+=	libffi>=1.20
BUILDLINK_PKGSRCDIR.libffi?=	../../devel/libffi
.endif	# LIBFFI_BUILDLINK3_MK

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