summaryrefslogtreecommitdiff
path: root/math/mpfr/buildlink3.mk
blob: a5b9306a290e6700ce2b9ba405e58072a001ad51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: buildlink3.mk,v 1.3 2006/04/12 10:27:26 rillig Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
MPFR_BUILDLINK3_MK:=	${MPFR_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nmpfr}
BUILDLINK_PACKAGES+=	mpfr

.if !empty(MPFR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mpfr+=	mpfr>=2.0.3
BUILDLINK_DEPMETHOD.mpfr?=	build
BUILDLINK_PKGSRCDIR.mpfr?=	../../math/mpfr
.endif	# MPFR_BUILDLINK3_MK

.include "../../devel/gmp/buildlink3.mk"

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