pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python Don't query distutils when bootstrapping i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55a16d73300d
branches:  trunk
changeset: 514645:55a16d73300d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jun 15 16:16:12 2006 +0000

description:
Don't query distutils when bootstrapping it. Should fix problems
with devel/py-distutils from the bulk builds.

diffstat:

 lang/python/pyversion.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 736a959f3b7e -r 55a16d73300d lang/python/pyversion.mk
--- a/lang/python/pyversion.mk  Thu Jun 15 15:32:35 2006 +0000
+++ b/lang/python/pyversion.mk  Thu Jun 15 16:16:12 2006 +0000
@@ -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 @@
 
 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; \



Home | Main Index | Thread Index | Old Index