From owner-freebsd-ports Fri Dec 20 2: 7: 0 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B974D37B401 for ; Fri, 20 Dec 2002 02:06:59 -0800 (PST) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBE4F43EDC for ; Fri, 20 Dec 2002 02:06:58 -0800 (PST) (envelope-from alane@wwweasel.geeksrus.net) Received: from wwweasel.geeksrus.net (localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.6/8.12.6) with ESMTP id gBKA6ZBB016770 for ; Fri, 20 Dec 2002 05:06:35 -0500 (EST) (envelope-from alane@wwweasel.geeksrus.net) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.12.6/8.12.6/Submit) id gBKA6Z6r016769 for ports@FreeBSD.ORG; Fri, 20 Dec 2002 05:06:35 -0500 (EST) (envelope-from alane) Date: Fri, 20 Dec 2002 05:06:34 -0500 From: AlanE To: ports@FreeBSD.ORG Subject: Re: Using different versions of Python? Message-ID: <20021220100634.GE16528@wwweasel.geeksrus.net> Reply-To: alane@geeksrus.net Mail-Followup-To: ports@FreeBSD.ORG References: <20021220030654.GH40279@juno.home.paeps.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021220030654.GH40279@juno.home.paeps.cx> X-message-flag: Every program expands until it can send mail. Except Exchange Server. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Dec 20, 2002 at 04:06:54AM +0100, Philip Paeps wrote: >How would I tell a port to use a certain version of Python? I would like >palm/plucker to use Python 2.1 instead of 2.2 (it's broken under 2.2, >according what I read on their mailing-list). > >There doesn't appear to be any easy way to tell a port to use a certain >version that I can see. Perhaps I'm overlooking something? > >Thanks for any hints! > > - Philip You can set PYTHON_VERSION, I believe. Look at the Zope port for details, and mail me if you can't figure it out. Note that it will have to refer to the python binary by its versioned name for this to work. -- AlanE (Alan Eldridge), who likes fixing weird distributed systems bugs. Unix/C(++) IT Pro for 20 yrs, desperately seeking employment in NYC. (http://wwweasel.geeksrus.net/~alane/resume.rtf) KDE, KDE-FreeBSD Teams (http://www.kde.org, http://freebsd.kde.org/) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message