summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg>2008-03-15 16:43:25 +0000
committerjoerg <joerg>2008-03-15 16:43:25 +0000
commitc6644bbd4c4e3fd5fa44776773ece165a24852d3 (patch)
tree93267fa7a3ecf0590768e556d230c27997ac2e03 /lang
parent4d50490614c67fa413911fb759a18713a55efc0a (diff)
downloadpkgsrc-c6644bbd4c4e3fd5fa44776773ece165a24852d3.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