summaryrefslogtreecommitdiff
path: root/math/pari/buildlink3.mk
blob: fb7a63d71bb6be85ca58abbde4fdbf7cb808595a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: buildlink3.mk,v 1.10 2010/03/24 21:54:16 asau Exp $

BUILDLINK_TREE+=	pari

.if !defined(PARI_BUILDLINK3_MK)
PARI_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.pari+=	pari>=2.3.4
BUILDLINK_ABI_DEPENDS.pari+=	pari>=2.3.5nb5
BUILDLINK_PKGSRCDIR.pari?=	../../math/pari

pkgbase := pari
.include "../../mk/pkg-build-options.mk"

PARI_LIB?=	pari
.  if !empty(PKG_BUILD_OPTIONS.pari:Mgmp)
PARI_LIB=	pari-gmp
.    include "../../devel/gmp/buildlink3.mk"
.  endif

.endif # PARI_BUILDLINK3_MK

BUILDLINK_TREE+=	-pari