pkgsrc/math/pari/buildlink3.mk

23 lines
507 B
Makefile

# $NetBSD: buildlink3.mk,v 1.11 2011/03/18 15:00:01 adam 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