summaryrefslogtreecommitdiff
path: root/math/gsl/buildlink3.mk
blob: fc36ce6dc05c4e885331e453ef5010a33b8ae247 (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 2004/03/18 09:12:13 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
GSL_BUILDLINK3_MK:=	${GSL_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ngsl}
BUILDLINK_PACKAGES+=	gsl

.if !empty(GSL_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.gsl+=		gsl>=1.4
BUILDLINK_PKGSRCDIR.gsl?=	../../math/gsl
.endif	# GSL_BUILDLINK3_MK

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