summaryrefslogtreecommitdiff
path: root/math/mpfr
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2004-06-05 22:19:53 +0000
committerrh <rh@pkgsrc.org>2004-06-05 22:19:53 +0000
commitd4f392c55d4a281b5f8e74ef8f6599019f56cfaf (patch)
treec44eb4676aa566ac4ff6dfe36f7f5c7c9f9c57ac /math/mpfr
parent4b1af6b2fc1b6b18cdb990c9fa9aa4f5956108fa (diff)
downloadpkgsrc-d4f392c55d4a281b5f8e74ef8f6599019f56cfaf.tar.gz
Add a buildlink3.mk file
Diffstat (limited to 'math/mpfr')
-rw-r--r--math/mpfr/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/math/mpfr/buildlink3.mk b/math/mpfr/buildlink3.mk
new file mode 100644
index 00000000000..11d3280d086
--- /dev/null
+++ b/math/mpfr/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/06/05 22:19:53 rh Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MPFR_BUILDLINK3_MK:= ${MPFR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= mpfr
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmpfr}
+BUILDLINK_PACKAGES+= mpfr
+
+.if !empty(MPFR_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.mpfr+= mpfr>=2.0.3
+BUILDLINK_DEPMETHOD.mpfr?= build
+BUILDLINK_PKGSRCDIR.mpfr?= ../../math/mpfr
+.endif # MPFR_BUILDLINK3_MK
+
+.include "../../devel/gmp/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}