summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-25 23:07:51 +0000
committerminskim <minskim@pkgsrc.org>2004-02-25 23:07:51 +0000
commitd81ac16eca758f53b4a35a53c7eef29c43e0e113 (patch)
treec240cf9f3079c90644a1228da11c39e5be5f93ac
parentdd05c8383dba8d1885e9977b6d6d6fa1c548ae65 (diff)
downloadpkgsrc-d81ac16eca758f53b4a35a53c7eef29c43e0e113.tar.gz
Add buildlink3.mk. Requested by the maintainer in PR pkg/24549.
-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/+$//}