summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-03-15 16:43:25 +0000
committerjoerg <joerg@pkgsrc.org>2008-03-15 16:43:25 +0000
commit3350db1645bc4fa154c593f1f31a7db0524a3e0a (patch)
tree93267fa7a3ecf0590768e556d230c27997ac2e03 /lang
parent8b01a2372396a4421a8185565c814bb8a909cec7 (diff)
downloadpkgsrc-3350db1645bc4fa154c593f1f31a7db0524a3e0a.tar.gz
For Python 2.5, check that the wip directory actually exists.
Diffstat (limited to 'lang')
-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