Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2009 10:51:21 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        manish jain <invalid.pointer@gmail.com>
Cc:        rsmith@xs4all.nl, "b. f." <bf1783@googlemail.com>, freebsd-questions@freebsd.org
Subject:   Re: Urgent help needed : portmaster dies on py-cairo
Message-ID:  <20090706095121.GA81385@mech-cluster238.men.bris.ac.uk>
In-Reply-To: <cb0fa7b70907060220g13c5614ag7e3116c2ad6112e4@mail.gmail.com>
References:  <d873d5be0907052046q7a2e48b6xf7d68b8c93c2f245@mail.gmail.com> <cb0fa7b70907060220g13c5614ag7e3116c2ad6112e4@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Jul 06, 2009 at 02:50:35PM +0530, manish jain wrote:
> 2009/7/6 b. f. <bf1783@googlemail.com>
> After running pkgdb -F, I find that there hundreds of ports depending on
> python2.5.

You shouldn't have 2.5 installed at all. It should be upgraded to 2.6 and
changes propagated to all dependent ports, see /usr/ports/UPDATE entry
from 20090608.

I've 99 ports depending on python 2.6, and my update was quite smooth, IIRC.

> 1) How do I find or set  PYTHON_DEFAULT_VERSION ?
> 2) What workaround would be needed in make.conf to get 2.5-hardwired ports
> to use 2.6 instead ?

I never had to mess with this, and I don't think it is a good idea.

What I would probably do in your situation, is delete python2.5 forcefully,
reinstall python2.6, and then reinstall any port which complains.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090706095121.GA81385>