summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorjoerg <joerg>2008-03-15 16:43:25 +0000
committerjoerg <joerg>2008-03-15 16:43:25 +0000
commit443e4318e3d29c8c99d2323469d7f968ac03bbcc (patch)
tree93267fa7a3ecf0590768e556d230c27997ac2e03 /lang/python
parent8a43231292ae930c80c638f177a50267f1e4d54f (diff)
downloadpkgsrc-443e4318e3d29c8c99d2323469d7f968ac03bbcc.tar.gz
For Python 2.5, check that the wip directory actually exists.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index d85d5250738..74badfa4cf7 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.52 2008/02/20 10:43:55 rillig Exp $
+# $NetBSD: pyversion.mk,v 1.53 2008/03/15 16:43:25 joerg Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -115,7 +115,7 @@ _PYTHON_VERSION?= ${pv}
_PYTHON_VERSION= none
.endif
-.if ${_PYTHON_VERSION} == "25"
+.if ${_PYTHON_VERSION} == "25" && exists(../../wip/python25/Makefile)
PYPKGSRCDIR= ../../wip/python25
PYDEPENDENCY= ${BUILDLINK_API_DEPENDS.python25}:${PYPKGSRCDIR}
PYPACKAGE= python25