summaryrefslogtreecommitdiff
path: root/lang/erlang/buildlink3.mk
blob: 0b35b055f946792599d6c220260151a4de71a58f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: buildlink3.mk,v 1.2 2005/12/30 10:32:16 ghen Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
ERLANG_BUILDLINK3_MK:=		${ERLANG_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=		${BUILDLINK_PACKAGES:Nerlang}
BUILDLINK_PACKAGES+=		erlang

.if !empty(ERLANG_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.erlang+=	erlang>=10.1
BUILDLINK_PKGSRCDIR.erlang?=	../../lang/erlang
.endif	# ERLANG_BUILDLINK3_MK

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