summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-15 16:16:12 +0000
committerjoerg <joerg>2006-06-15 16:16:12 +0000
commitf71eda2e09e9804cf1d8cf0c741a2d28ed7e0699 (patch)
tree2cde9bfb600e874ac25f3e82497550d4be3c3e54 /lang
parent74dea1cb7a9d59c2bbf74df3fe0572502a8f0463 (diff)
downloadpkgsrc-f71eda2e09e9804cf1d8cf0c741a2d28ed7e0699.tar.gz
Don't query distutils when bootstrapping it. Should fix problems
with devel/py-distutils from the bulk builds.
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 746f8048b7d..63ab7771aa9 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.40 2006/06/04 16:26:54 joerg Exp $
+# $NetBSD: pyversion.mk,v 1.41 2006/06/15 16:16:12 joerg Exp $
.if !defined(PYTHON_PYVERSION_MK)
PYTHON_PYVERSION_MK= defined
@@ -121,7 +121,7 @@ BUILDLINK_DEPMETHOD.python?= build
PYTHONBIN= ${LOCALBASE}/bin/python${PYVERSSUFFIX}
-.if exists(${PYTHONBIN})
+.if exists(${PYTHONBIN}) && !defined(PYTHON_DISTUTILS_BOOTSTRAP)
PYINC!= ${PYTHONBIN} -c "import distutils.sysconfig; \
print distutils.sysconfig.get_python_inc(0, \"\")" || ${ECHO} ""
PYLIB!= ${PYTHONBIN} -c "import distutils.sysconfig; \