diff options
author | joerg <joerg@pkgsrc.org> | 2006-06-15 16:16:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-06-15 16:16:12 +0000 |
commit | 7f32fd10b9715bdca200a8a276097fd542cc0bdc (patch) | |
tree | 2cde9bfb600e874ac25f3e82497550d4be3c3e54 /lang/python | |
parent | ce46472a32b8456784fe4c59a253deb4899f67f4 (diff) | |
download | pkgsrc-7f32fd10b9715bdca200a8a276097fd542cc0bdc.tar.gz |
Don't query distutils when bootstrapping it. Should fix problems
with devel/py-distutils from the bulk builds.
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/pyversion.mk | 4 |
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; \ |