pkgsrc/math/pari23/buildlink3.mk
2022-06-28 11:30:51 +00:00

23 lines
508 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2022/06/28 11:34:44 wiz 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.5nb27
BUILDLINK_PKGSRCDIR.pari?= ../../math/pari23
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