summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-25 23:07:51 +0000
committerminskim <minskim>2004-02-25 23:07:51 +0000
commite5b89bb48d42ad8d97e5aef9a9e688973905cbfc (patch)
treec240cf9f3079c90644a1228da11c39e5be5f93ac /databases
parent70e04ee3e8565192e08d41a0a11bae1503ffcdbc (diff)
downloadpkgsrc-e5b89bb48d42ad8d97e5aef9a9e688973905cbfc.tar.gz
Add buildlink3.mk. Requested by the maintainer in PR pkg/24549.
Diffstat (limited to 'databases')
-rw-r--r--databases/py-ZODB/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/py-ZODB/buildlink3.mk b/databases/py-ZODB/buildlink3.mk
new file mode 100644
index 00000000000..146e6d340de
--- /dev/null
+++ b/databases/py-ZODB/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/25 23:07:51 minskim Exp $
+#
+# This Makefile fragment is included by packages that use py-ZODB.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_ZODB_BUILDLINK3_MK:= ${PY_ZODB_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pyZODB
+.endif
+
+.if !empty(PY_ZODB_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= pyZODB
+BUILDLINK_DEPENDS.pyZODB+= ${PYPKGPREFIX}-ZODB>=3.2nb1
+BUILDLINK_PKGSRCDIR.pyZODB?= ../../databases/py-ZODB
+
+.endif # PY_ZODB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}