Explicitly depend on gmp>=4.3.2 and mpfr>=2.4.2.

This commit is contained in:
hans 2011-09-14 17:14:09 +00:00
parent df67f4c60a
commit 837223bd37
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/03/09 18:59:46 asau Exp $ # $NetBSD: Makefile,v 1.3 2011/09/14 17:14:09 hans Exp $
DISTNAME= mpc-0.9 DISTNAME= mpc-0.9
PKGNAME= mpcomplex-0.9 PKGNAME= mpcomplex-0.9
@ -18,5 +18,8 @@ INFO_FILES= yes
TEST_TARGET= check TEST_TARGET= check
BUILDLINK_API_DEPENDS.gmp+= gmp>=4.3.2
.include "../../devel/gmp/buildlink3.mk"
BUILDLINK_API_DEPENDS.mpfr+= mpfr>=2.4.2
.include "../../math/mpfr/buildlink3.mk" .include "../../math/mpfr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk" .include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $ # $NetBSD: buildlink3.mk,v 1.2 2011/09/14 17:14:09 hans Exp $
BUILDLINK_TREE+= mpcomplex BUILDLINK_TREE+= mpcomplex
@ -8,6 +8,9 @@ MPCOMPLEX_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.mpcomplex+= mpcomplex>=0.8.2 BUILDLINK_API_DEPENDS.mpcomplex+= mpcomplex>=0.8.2
BUILDLINK_PKGSRCDIR.mpcomplex?= ../../math/mpcomplex BUILDLINK_PKGSRCDIR.mpcomplex?= ../../math/mpcomplex
BUILDLINK_API_DEPENDS.gmp+= gmp>=4.3.2
.include "../../devel/gmp/buildlink3.mk"
BUILDLINK_API_DEPENDS.mpfr+= mpfr>=2.4.2
.include "../../math/mpfr/buildlink3.mk" .include "../../math/mpfr/buildlink3.mk"
.endif # MPCOMPLEX_BUILDLINK3_MK .endif # MPCOMPLEX_BUILDLINK3_MK