summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/py-fpconst/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/py-fpconst/buildlink3.mk b/math/py-fpconst/buildlink3.mk
new file mode 100644
index 00000000000..1bdfe7f8206
--- /dev/null
+++ b/math/py-fpconst/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/08/13 08:57:14 recht Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_FPCONST_BUILDLINK3_MK:= ${PY_FPCONST_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= py-fpconst
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-fpconst}
+BUILDLINK_PACKAGES+= py-fpconst
+
+.if !empty(PY_FPCONST_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.py-fpconst+= ${PYPKGPREFIX}-fpconst>=0.7.0
+BUILDLINK_PKGSRCDIR.py-fpconst?= ../../math/py-fpconst
+.endif # PY_FPCONST_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}