summaryrefslogtreecommitdiff
path: root/devel/gmp/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-19 13:15:52 +0000
committerjlam <jlam>2004-01-19 13:15:52 +0000
commit265b3ec8af5085fbeebc9bcef4c842931e48890b (patch)
tree7fcaec6c9a1e92602f15b69f529420e5684327f5 /devel/gmp/buildlink3.mk
parentcedf66e3c1409851547f2177168d27d80a9166f1 (diff)
downloadpkgsrc-265b3ec8af5085fbeebc9bcef4c842931e48890b.tar.gz
bl3ify
Diffstat (limited to 'devel/gmp/buildlink3.mk')
-rw-r--r--devel/gmp/buildlink3.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/gmp/buildlink3.mk b/devel/gmp/buildlink3.mk
new file mode 100644
index 00000000000..31abbc44875
--- /dev/null
+++ b/devel/gmp/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/19 13:15:52 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GMP_BUILDLINK3_MK:= ${GMP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gmp
+.endif
+
+.if !empty(GMP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= gmp
+BUILDLINK_DEPENDS.gmp?= gmp>=4.1.2
+BUILDLINK_PKGSRCDIR.gmp?= ../../devel/gmp
+
+.endif # GMP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}