Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2007 13:46:58 +0900
From:      "Hye-Shik Chang" <hyeshik@gmail.com>
To:        "Tom McLaughlin" <tmclaugh@sdf.lonestar.org>
Cc:        python@freebsd.org
Subject:   Re: Python 2.5.1 upgrade as a new default
Message-ID:  <4f0b69dc0706122146t34453c9fqf2a96678a9c79fb8@mail.gmail.com>
In-Reply-To: <1181707744.43255.39.camel@localhost>
References:  <4f0b69dc0706101154r8a5b51btd81ffdc5a2321de3@mail.gmail.com> <1181707744.43255.39.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/13/07, Tom McLaughlin <tmclaugh@sdf.lonestar.org> wrote:
> +.if defined(PYEASYINSTALL_ARCHDEP)
> +_OSRELEASE!=                                   ${UNAME} -r
>
> Can that be replaced with something like this?
>
> _OSRELEASE= ${OSVERSION:C/^([0-9]).*/\1/}
>
>
> The dot release version and OS tag are really irrelevant.  (Better would
> be using `uname -r` and chopping everything off from the first "." on
> but it's late and I don't feel like remembering how to do this in
> make. :)

I agree for the point.  However, the OS tag is decided by platform()
of the standard `platform' module, so changing its behavior make
unexpected result globally.  I'll investigate whether it can be changed
before committing the patch.  :-)

Hye-Shik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f0b69dc0706122146t34453c9fqf2a96678a9c79fb8>