summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans>2011-09-14 17:14:09 +0000
committerhans <hans>2011-09-14 17:14:09 +0000
commit8a4e13c5da6f0da7061b74c531fdacb0635bb824 (patch)
tree14ae15a1e5826d995fa80fb1546558c250cb7152
parent8c7526862fbd262d81910a3ecc7d4aa200d89575 (diff)
downloadpkgsrc-8a4e13c5da6f0da7061b74c531fdacb0635bb824.tar.gz
Explicitly depend on gmp>=4.3.2 and mpfr>=2.4.2.
-rw-r--r--math/mpcomplex/Makefile5
-rw-r--r--math/mpcomplex/buildlink3.mk5
2 files changed, 8 insertions, 2 deletions
diff --git a/math/mpcomplex/Makefile b/math/mpcomplex/Makefile
index d78d255ad29..069bad18fbe 100644
--- a/math/mpcomplex/Makefile
+++ b/math/mpcomplex/Makefile
@@ -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
PKGNAME= mpcomplex-0.9
@@ -18,5 +18,8 @@ INFO_FILES= yes
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 "../../mk/bsd.pkg.mk"
diff --git a/math/mpcomplex/buildlink3.mk b/math/mpcomplex/buildlink3.mk
index f53fed1a5c5..0821a3a6888 100644
--- a/math/mpcomplex/buildlink3.mk
+++ b/math/mpcomplex/buildlink3.mk
@@ -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
@@ -8,6 +8,9 @@ MPCOMPLEX_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.mpcomplex+= mpcomplex>=0.8.2
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"
.endif # MPCOMPLEX_BUILDLINK3_MK