summaryrefslogtreecommitdiff
path: root/math/eigen2/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'math/eigen2/buildlink3.mk')
-rw-r--r--math/eigen2/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/eigen2/buildlink3.mk b/math/eigen2/buildlink3.mk
new file mode 100644
index 00000000000..abe58f29fbb
--- /dev/null
+++ b/math/eigen2/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/10 01:02:47 markd Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+EIGEN_BUILDLINK3_MK:= ${EIGEN_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= eigen
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Neigen}
+BUILDLINK_PACKAGES+= eigen
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}eigen
+
+.if ${EIGEN_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.eigen+= eigen>=2.0beta3
+BUILDLINK_PKGSRCDIR.eigen?= ../../math/eigen2
+BUILDLINK_DEPMETHOD.eigen?= build
+.endif # EIGEN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}