* Use BUILDLINK_{INCDIRS,LIBDIRS}.<pkg> instead of using
BUILDLINK_{CPPFLAGS,LDFLAGS}.<pkg> since we're just dealing with adding
directories to the various search paths.
This is a bugfix release.
Also, use the LINK_ALL_LIBGCC_HACK just introduced to link the
interpreter against libgcc. This should fix PR pkg/16144 in the
Python2.2 (and NetBSD-1.5) case.
Makefiles simply need to use this value often, for better or for
worse.
(2) Create a new variable FIX_RPATH that lists variables that should
be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By
default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
additional variables may be appended from package Makefiles.
Before using native pthreads per default, we should make sure it is
at least stable enough for the Python selftests and pkgsrc applications.
(in response to PR pkg/20214)
XXX only python22 pkg is changed this way, since this is the only
XXX one having special case for NetBSD; python15, python20, python21 disable
XXX threads on all pkgsrc operating systems
Changes:
-Added new builtin function bool() and new builtin constants True and
False to ease backporting of code developed for Python 2.3. In 2.2,
bool() returns 1 or 0, True == 1, and False == 0.
-C API: A type can now inherit its metatype from its base type.
-Fixes
LDFLAGS to the linker command when linking a python extension. This lets
us pass the right flags to correctly find libraries required for certain
extensions, e.g. zlib.so.
as suggested by Johnny Lam
-don't try to build the "locale" module - it doesn't work anyway
-pull up a fix from Python CVS to get more consistent math exceptions
(eg pow(1e-200,2) vs. math.pow(1e-200,2))
This will be part of 2.2.1.