diff options
author | joerg <joerg> | 2006-06-15 16:16:12 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-06-15 16:16:12 +0000 |
commit | aa5001d39199c28c63ef0748a72d644be4bb762a (patch) | |
tree | 2cde9bfb600e874ac25f3e82497550d4be3c3e54 /lang | |
parent | 4fb9ebe2256a59677e3a3b56a5f3d830069a57c3 (diff) | |
download | pkgsrc-aa5001d39199c28c63ef0748a72d644be4bb762a.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.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; \ |