summaryrefslogtreecommitdiff
path: root/math/ntl/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'math/ntl/buildlink3.mk')
-rw-r--r--math/ntl/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/ntl/buildlink3.mk b/math/ntl/buildlink3.mk
new file mode 100644
index 00000000000..c192d878dab
--- /dev/null
+++ b/math/ntl/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/14 00:00:19 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NTL_BUILDLINK3_MK:= ${NTL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ntl
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nntl}
+BUILDLINK_PACKAGES+= ntl
+
+.if !empty(NTL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.ntl+= ntl>=5.3.1
+BUILDLINK_PKGSRCDIR.ntl?= ../../math/ntl
+.endif # NTL_BUILDLINK3_MK
+
+.include "../../devel/gmp/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}