summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg>2009-03-20 17:30:09 +0000
committerjoerg <joerg>2009-03-20 17:30:09 +0000
commit572cec3939d3a28810a3297ec5ad4a5d7abb3a7e (patch)
tree9f978b303280101c03b347d950a3af070d2c7dd8 /textproc
parentb72ba506becb821112fb1c433c63459af9b0dd84 (diff)
downloadpkgsrc-572cec3939d3a28810a3297ec5ad4a5d7abb3a7e.tar.gz
Include pyversion.mk include the protected part of the buildlink3.mk
files, not over and over again.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-elementtree/buildlink3.mk6
-rw-r--r--textproc/py-libxml2/buildlink3.mk6
-rw-r--r--textproc/py-xml/buildlink3.mk6
3 files changed, 9 insertions, 9 deletions
diff --git a/textproc/py-elementtree/buildlink3.mk b/textproc/py-elementtree/buildlink3.mk
index bed1b11c789..8cb0cf6dc34 100644
--- a/textproc/py-elementtree/buildlink3.mk
+++ b/textproc/py-elementtree/buildlink3.mk
@@ -1,10 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.1 2007/01/10 10:44:46 drochner Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 17:30:12 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_ELEMENTTREE_BUILDLINK3_MK:= ${PY_ELEMENTTREE_BUILDLINK3_MK}+
-.include "../../lang/python/pyversion.mk"
-
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= py-elementtree
.endif
@@ -14,6 +12,8 @@ BUILDLINK_PACKAGES+= py-elementtree
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-elementtree
.if ${PY_ELEMENTTREE_BUILDLINK3_MK} == "+"
+.include "../../lang/python/pyversion.mk"
+
BUILDLINK_API_DEPENDS.py-elementtree+= ${PYPKGPREFIX}-elementtree>=1.2.6nb3
BUILDLINK_PKGSRCDIR.py-elementtree= ../../textproc/py-elementtree
.endif # PY_ELEMENTTREE_BUILDLINK3_MK
diff --git a/textproc/py-libxml2/buildlink3.mk b/textproc/py-libxml2/buildlink3.mk
index e8f6929f75f..3b4b58c8abe 100644
--- a/textproc/py-libxml2/buildlink3.mk
+++ b/textproc/py-libxml2/buildlink3.mk
@@ -1,10 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.1 2007/01/22 17:20:45 drochner Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 17:30:12 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_LIBXML2_BUILDLINK3_MK:= ${PY_LIBXML2_BUILDLINK3_MK}+
-.include "../../lang/python/pyversion.mk"
-
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= py-libxml2
.endif
@@ -14,6 +12,8 @@ BUILDLINK_PACKAGES+= py-libxml2
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-libxml2
.if ${PY_LIBXML2_BUILDLINK3_MK} == "+"
+.include "../../lang/python/pyversion.mk"
+
BUILDLINK_API_DEPENDS.py-libxml2+= ${PYPKGPREFIX}-libxml2>=2.6.27
BUILDLINK_PKGSRCDIR.py-libxml2?= ../../textproc/py-libxml2
.endif # PY_LIBXML2_BUILDLINK3_MK
diff --git a/textproc/py-xml/buildlink3.mk b/textproc/py-xml/buildlink3.mk
index e59c577d920..3a8fe4c9b2d 100644
--- a/textproc/py-xml/buildlink3.mk
+++ b/textproc/py-xml/buildlink3.mk
@@ -1,10 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2009/03/20 17:30:12 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYXML_BUILDLINK3_MK:= ${PYXML_BUILDLINK3_MK}+
-.include "../../lang/python/pyversion.mk"
-
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= pyxml
.endif
@@ -14,6 +12,8 @@ BUILDLINK_PACKAGES+= pyxml
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyxml
.if !empty(PYXML_BUILDLINK3_MK:M+)
+.include "../../lang/python/pyversion.mk"
+
BUILDLINK_API_DEPENDS.pyxml+= ${PYPKGPREFIX}-xml>=0.8.3nb1
BUILDLINK_ABI_DEPENDS.pyxml?= ${PYPKGPREFIX}-xml>=0.8.4nb2
BUILDLINK_PKGSRCDIR.pyxml?= ../../textproc/py-xml