summaryrefslogtreecommitdiff
path: root/math/R/buildlink3.mk
blob: 22b44204017cd67aa9c4d834b10d0b59ade29574 (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.1 2004/04/27 21:26:08 snj Exp $
# XXX	BUILDLINK_DEPMETHOD.R?=	build

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
R_BUILDLINK3_MK:=	${R_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:NR}
BUILDLINK_PACKAGES+=	R

.if !empty(R_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.R+=	R>=1.7.0
BUILDLINK_PKGSRCDIR.R?=	../../math/R
.endif	# R_BUILDLINK3_MK

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