summaryrefslogtreecommitdiff
path: root/devel/libffi/buildlink3.mk
blob: 8ffa9ddb2c47cdf20c8081c5595d540f3ea4d24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: buildlink3.mk,v 1.4 2006/04/12 10:27:10 rillig 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_API_DEPENDS.libffi+=	libffi>=1.20
BUILDLINK_ABI_DEPENDS.libffi+=	libffi>=2.0betanb1
BUILDLINK_PKGSRCDIR.libffi?=	../../devel/libffi
.endif	# LIBFFI_BUILDLINK3_MK

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