summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-08-13 08:57:14 +0000
committerrecht <recht@pkgsrc.org>2004-08-13 08:57:14 +0000
commit32ac53a99b7932050bbb3619d54eb744d78941d5 (patch)
treeff11a6e03d53e3f767a0b172d65f04794a1cb4d5 /math
parent8ffeebd1153f9f50c8a74986433fa2a6c433fd11 (diff)
downloadpkgsrc-32ac53a99b7932050bbb3619d54eb744d78941d5.tar.gz
Add/use buildlink3.mk files.
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/+$//}