From owner-freebsd-python@FreeBSD.ORG  Fri Mar  5 14:42:37 2004
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0390A16A4D3; Fri,  5 Mar 2004 14:42:37 -0800 (PST)
Received: from smaug.vex.net (smaug.vex.net [66.246.136.211])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id BF7FD43D41; Fri,  5 Mar 2004 14:42:36 -0800 (PST)
	(envelope-from x@xxvii.net)
Received: from bee.vii.net (69-90-55-67.fastdsl.ca [69.90.55.67])
	by smaug.vex.net (Postfix) with ESMTP
	id A9CF125910; Fri,  5 Mar 2004 17:42:34 -0500 (EST)
Received: by bee.vii.net (Postfix, from userid 1000)
	id 933A7BEB8; Fri,  5 Mar 2004 17:42:27 -0500 (EST)
From: Tim Middleton <x@Vex.Net>
Organization: xxvii.net
To: python@freebsd.org
Date: Fri, 5 Mar 2004 17:42:26 -0500
User-Agent: KMail/1.6
References: <20040305101837.GA78274@i18n.org>
In-Reply-To: <20040305101837.GA78274@i18n.org>
X-Whee: Yes, Please.
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200403051742.26067.x@Vex.Net>
cc: John Hay <jhay@icomtek.csir.co.za>
cc: Hye-Shik Chang <perky@i18n.org>
cc: Dima Dorfman <dd@FreeBSD.org>
Subject: Re: Python patch to install a shared library
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Mar 2004 22:42:37 -0000

On Friday 05 March 2004 05:18, Hye-Shik Chang wrote:
> Please test this patch on your platform:
>  http://people.freebsd.org/~perky/pyshared.diff

It's been quite a while since i tried BUILD_SHARED on a -CURRENT box (I had 
problems with it last time I tried... quite a long time ago, if i recall 
correctly). I always BUILD_SHARED on -STABLE boxes these days though, and it 
works great.

I've built with this patch on the -CURRENT box i'm now typing on (ordinary 
i386), and it appears to be working nicely so far. Looks good to me.

I wonder if the BUILD_SHARED knob should not be kept though. It seems this 
patched port installs static as bin/python[2.3] ... along with 
bin/python-shared[2.3]. But people who are used to BUILD_SHARED probably 
won't expect bin/python now to be a non-shared version, which they then will 
have to overwrite with the shared version manually. 

Perhaps if BUILD_SHARED is specified then bin/python will be the shared 
binary; and bin/python-static[2.3] would also be placed. But this is starting 
to get confusing... maybe it should always install python-static and 
python-shared ... and the knob just control which is copied to plain 
bin/python. 

Well, just my observations anyhow. Doesn't really matter to me. 

Nice work. 

-- 
Tim Middleton | Cain Gang Ltd | Then suddenly, for no apparent reason, the
x@veX.net     | www.Vex.Net   | unpittying orchestra struck up a polka. -D